2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-07 15:20:36 +00:00

Uninstaller: also remove installation logs upon uninstallation

This commit is contained in:
Christopher Roy Bratusek 2018-07-09 20:43:21 +02:00
parent b934db22e3
commit bac74918c0

View File

@ -269,6 +269,15 @@ for path in ${config_locations}; do
done done
done done
ui_print " << Removing installation logs (if any)"
# old format
rm -f /data/adb/.nanodroid_*
rm -f /data/adb/.recovery_*
# new format
rm -f /data/adb/NanoDroid*
# System Mode uninstallation # System Mode uninstallation
for install_info in /system/.nanomod-list /data/adb/.nanomod-list \ for install_info in /system/.nanomod-list /data/adb/.nanomod-list \
/data/adb/.nanodroid-list; do /data/adb/.nanodroid-list; do