partially revert due to lacking release where that could have appeared

merge-requests/23/head
Christopher Roy Bratusek 6 years ago
parent 3b1b7f00d1
commit ec4b323488

@ -185,11 +185,7 @@ system_mode_uninstall () {
for sapp in Settings SecSettings SecSettings2; do
if grep -q /system/priv-app/${sapp}/${sapp}.apk ${system_list}; then
if [ -f /sdcard/nanodroid_backups/${sapp}.apk ]; then
ui_print " << restoring: unpatched ${sapp}.apk"
mv /sdcard/nanodroid_backups/${sapp}.apk /system/priv-app/${sapp}/${sapp}.apk \
|| error " !! failed to restore ${sapp}.apk"
elif [ -f /sdcard/${sapp}.apk ]; then
if [ -f /sdcard/${sapp}.apk ]; then
ui_print " << restoring: unpatched ${sapp}.apk"
mv /sdcard/${sapp}.apk /system/priv-app/${sapp}/${sapp}.apk \
|| error " !! failed to restore ${sapp}.apk"

Loading…
Cancel
Save