2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-02 03:40:13 +00:00

Uninstaller: fixes and cleanup

This commit is contained in:
Christopher Roy Bratusek 2018-11-19 22:55:24 +01:00
parent 6e1a4df09b
commit 8b3effc8b0

View File

@ -177,7 +177,9 @@ restore_apps () {
/system/app/ || error " failed to restore ${app}"
fi
done
else
rm -rf /sdcard/nanodroid_backups/app/
fi
if [ -d /sdcard/nanodroid_backups/priv-app/ ]; then
for app in /sdcard/nanodroid_backups/priv-app/*; do
@ -190,6 +192,8 @@ restore_apps () {
/system/priv-app/ || error " failed to restore ${app}"
fi
done
rm -rf /sdcard/nanodroid_backups/priv-app/
fi
}