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:
parent
6e1a4df09b
commit
8b3effc8b0
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user