2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

patcher: remove old addon.d setups when installing new

This commit is contained in:
Christopher Roy Bratusek 2018-01-27 09:57:27 +01:00
parent 8517c9d3ec
commit b8bb331fc5

View File

@ -345,12 +345,9 @@ install_addond () {
mkdir -p /data/adb/nanodroid_patcher mkdir -p /data/adb/nanodroid_patcher
if [ -d /data/nanomod.patcher ]; then [ -d /data/nanomod.patcher ] && rm -rf /data/nanomod.patcher
ui_print " " [ -d /data/adb/nanomod_patcher ] && rm -rf /data/nanomod_patcher
ui_print " Removing old NanoMod restoration setup" rm -f /system/addon.d/75-nanomodpatcher.sh
rm -rf /data/nanomod.patcher
rm -f /system/addon.d/75-nanomodpatcher.sh
fi
for file in core_services.jar.dex dexpatcher.dex file.arm file.x86 \ for file in core_services.jar.dex dexpatcher.dex file.arm file.x86 \
hook_4.1-6.0_services.jar.dex hook_7.0-8.0_services.jar.dex \ hook_4.1-6.0_services.jar.dex hook_7.0-8.0_services.jar.dex \