fixed bug in installer/updater
This commit is contained in:
parent
6bd06532c8
commit
ba1e74b1c8
1 changed files with 3 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
TF1_PATH=/mnt/mmc
|
TF1_PATH=/mnt/mmc
|
||||||
TF2_PATH=/mnt/sdcard # TF1 is linked to this path if TF2 is missing
|
TF2_PATH=/mnt/sdcard # TF1 is linked to this path if TF2 is missing
|
||||||
SYSTEM_PATH=/mnt/sdcard/.system/rg35xx
|
SYSTEM_PATH=/mnt/sdcard/.system/rg35xx
|
||||||
|
FLAG_PATH=/misc/.minstalled
|
||||||
|
|
||||||
# old rootfs.img (alpha-only)
|
# old rootfs.img (alpha-only)
|
||||||
if [ -f $SYSTEM_PATH/rootfs.img ]; then
|
if [ -f $SYSTEM_PATH/rootfs.img ]; then
|
||||||
|
|
@ -55,3 +56,4 @@ if [ ! -f $FLAG_PATH ] || was_updated; then
|
||||||
touch $FLAG_PATH
|
touch $FLAG_PATH
|
||||||
sync && reboot
|
sync && reboot
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue