mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
Fix bug
This commit is contained in:
parent
c99b545226
commit
cbd60e3365
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
ARPL_VERSION="1.0-beta"
|
ARPL_VERSION="1.0-beta2"
|
||||||
|
|
||||||
# Define paths
|
# Define paths
|
||||||
TMP_PATH="/tmp"
|
TMP_PATH="/tmp"
|
||||||
|
@ -890,7 +890,7 @@ function updateMenu() {
|
|||||||
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
||||||
--infobox "Downloading last version ${TAG}" 0 0
|
--infobox "Downloading last version ${TAG}" 0 0
|
||||||
# Download update file
|
# Download update file
|
||||||
STATUS=`curl --insecure -s -w "%{http_code}" -L \
|
STATUS=`curl --insecure -w "%{http_code}" -L \
|
||||||
"https://github.com/fbelavenuto/arpl/releases/download/${TAG}/update.zip" -o /tmp/update.zip`
|
"https://github.com/fbelavenuto/arpl/releases/download/${TAG}/update.zip" -o /tmp/update.zip`
|
||||||
if [ $? -ne 0 -o ${STATUS} -ne 200 ]; then
|
if [ $? -ne 0 -o ${STATUS} -ne 200 ]; then
|
||||||
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
dialog --backtitle "`backtitle`" --title "Update arpl" --aspect 18 \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
replace:
|
replace:
|
||||||
".buildroot/output/images/bzImage": "/mnt/p3/bzImage-arpl"
|
".buildroot/output/images/bzImage": "/mnt/p3/bzImage-arpl"
|
||||||
".buildroot/output/images/rootfs.cpio.xz": "/mnt/p3/initrd-arpl"
|
".buildroot/output/images/rootfs.cpio.xz": "/mnt/p3/initrd-arpl"
|
||||||
"files/board/arpl/p1/grub/grub.cfg": "/mnt/p1/grub/grub/cfg"
|
"files/board/arpl/p1/grub/grub.cfg": "/mnt/p1/grub/grub.cfg"
|
||||||
remove:
|
remove:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user