mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-02 03:40:13 +00:00
partially revert due to lacking release where that could have appeared
This commit is contained in:
parent
3b1b7f00d1
commit
ec4b323488
@ -185,11 +185,7 @@ system_mode_uninstall () {
|
|||||||
|
|
||||||
for sapp in Settings SecSettings SecSettings2; do
|
for sapp in Settings SecSettings SecSettings2; do
|
||||||
if grep -q /system/priv-app/${sapp}/${sapp}.apk ${system_list}; then
|
if grep -q /system/priv-app/${sapp}/${sapp}.apk ${system_list}; then
|
||||||
if [ -f /sdcard/nanodroid_backups/${sapp}.apk ]; then
|
if [ -f /sdcard/${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
|
|
||||||
ui_print " << restoring: unpatched ${sapp}.apk"
|
ui_print " << restoring: unpatched ${sapp}.apk"
|
||||||
mv /sdcard/${sapp}.apk /system/priv-app/${sapp}/${sapp}.apk \
|
mv /sdcard/${sapp}.apk /system/priv-app/${sapp}/${sapp}.apk \
|
||||||
|| error " !! failed to restore ${sapp}.apk"
|
|| error " !! failed to restore ${sapp}.apk"
|
||||||
|
Loading…
Reference in New Issue
Block a user