CommonInstaller: get rid of webview updates, aswell, if it's a fresh NanoDroid installation

merge-requests/23/head
Christopher Roy Bratusek 6 years ago
parent 05c4727f9f
commit 28102c8132

@ -12,7 +12,7 @@
* Bromite WebView package
* change apk path from /system/app/webview to /system/app/BromiteWebView
* disable /system/app/webviewstub (some ROMs use that instead of /system/app/webview)
* get rid of webview in /data/app if it's a fresh NanoDroid installation
* get rid of webview updates, aswell, if it's a fresh NanoDroid installation
## 20.0.20181111 "Nimitz"

@ -970,6 +970,15 @@ install_bromite_webview () {
fi
done
if [ "${NANODROID_UPGRADE}" -eq 0 ]; then
rm -rf /data/data/com.android.webview
rm -rf /data/user/*/com.android.webview
rm -rf /data/user_de/*/com.android.webview
rm -rf /data/app/com.android.webview-*
rm -rf /mnt/asec/com.android.webview-*
rm -rf /data/media/Android/data/com.android.webview
fi
nanodroid_install_apk BromiteWebView_${BROMITE_ARCH} multilib BromiteWebView
fi
}

Loading…
Cancel
Save