mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-02 03:40:13 +00:00
CommonInstaller: migrating from NanoMod to NanoDroid is an upgrade aswell (magisk mode)
This commit is contained in:
parent
176b764e37
commit
658a481ba1
@ -429,6 +429,7 @@ magisk_install_setup () {
|
||||
if [ -d ${MOUNTPATH}/${dir} ]; then
|
||||
ui_print " !! ${dir} module detected - uninstalling!"
|
||||
rm -rf ${MOUNTPATH}/${dir}
|
||||
NANODROID_UPGRADE=1
|
||||
fi
|
||||
done
|
||||
|
||||
@ -445,6 +446,7 @@ magisk_install_setup () {
|
||||
if [ -d ${MOUNTPATH}/NanoModmicroG ]; then
|
||||
ui_print " !! old version module detected - uninstalling!"
|
||||
rm -rf ${MOUNTPATH}/NanoModmicroG
|
||||
NANODROID_UPGRADE=1
|
||||
fi
|
||||
|
||||
[ -d ${MODUNTPATH}/NanoDroid_microG ] && NANODROID_UPGRADE=1
|
||||
@ -460,6 +462,7 @@ magisk_install_setup () {
|
||||
if [ -d ${MOUNTPATH}/NanoModfdroid ]; then
|
||||
ui_print " !! old version module detected - uninstalling!"
|
||||
rm -rf ${MOUNTPATH}/NanoModfdroid
|
||||
NANODROID_UPGRADE=1
|
||||
fi
|
||||
|
||||
[ -d ${MODUNTPATH}/NanoDroid_FDroid ] && NANODROID_UPGRADE=1
|
||||
|
Loading…
Reference in New Issue
Block a user