mirror of
https://gitlab.com/Nanolx/NanoDroid
synced 2024-11-07 15:20:36 +00:00
CommonInstaller: improve check wether installation is an upgrade (system mode)
This commit is contained in:
parent
7b78ad04c6
commit
176b764e37
@ -240,7 +240,7 @@ detect_mode () {
|
|||||||
ui_print " "
|
ui_print " "
|
||||||
|
|
||||||
if [ "${MODE}" = "SYSTEM"]; then
|
if [ "${MODE}" = "SYSTEM"]; then
|
||||||
if test -f /system/etc/default-permissions/microg-permissions.xml; then
|
if test -f /data/adb/.nanodroid-list -o -f /system/addon.d/91-nanodroid.sh; then
|
||||||
NANODROID_UPGRADE=1
|
NANODROID_UPGRADE=1
|
||||||
else
|
else
|
||||||
NANODROID_UPGRADE=0
|
NANODROID_UPGRADE=0
|
||||||
|
Loading…
Reference in New Issue
Block a user