From a15221980313a78178011466ae8c94db1e924429 Mon Sep 17 00:00:00 2001 From: Shaun Inman Date: Mon, 6 Feb 2023 21:14:25 -0500 Subject: [PATCH] remove old rootfs.img (changed extension to default ext2) --- src/install/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/install/install.sh b/src/install/install.sh index d844ea7..8f8703b 100755 --- a/src/install/install.sh +++ b/src/install/install.sh @@ -6,6 +6,11 @@ TF1_PATH=/mnt/mmc TF2_PATH=/mnt/sdcard # TF1 is linked to this path if TF2 is missing SYSTEM_PATH=/mnt/sdcard/.system/rg35xx +# old rootfs.img (alpha-only) +if [ -f $SYSTEM_PATH/rootfs.img ]; then + rm $SYSTEM_PATH/rootfs.img +fi + if [ ! -f $FLAG_PATH ]; then BAK_PATH=$TF1_PATH/bak mkdir -p $BAK_PATH