CommonInstaller: improve check wether installation is an upgrade (system mode)

merge-requests/23/head
Christopher Roy Bratusek 6 years ago
parent 7b78ad04c6
commit 176b764e37

@ -240,7 +240,7 @@ detect_mode () {
ui_print " "
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
else
NANODROID_UPGRADE=0

Loading…
Cancel
Save