Fix app replacement messages during install/update

This commit is contained in:
osm0sis
2024-03-03 22:58:01 -04:00
parent affe99b5ae
commit b30b43f2ae

View File

@@ -50,9 +50,9 @@ for APP in $(grep -v '^#' $LIST); do
fi fi
fi fi
fi fi
if [[ -d "$APP" -o "$APP" = *".apk" ]]; then if [[ -d "$APP" || "$APP" = *".apk" ]]; then
ui_print "! $(basename $APP .apk) ROM app disabled, please uninstall any user app versions/updates after next reboot" ui_print "! $(basename $APP .apk) ROM app disabled, please uninstall any user app versions/updates after next reboot"
[ "$PKGNAME" ] && ui_print "! Corresponding $PKGNAME entry commented to disable in copied overlay config" [ "$HIDECFG" ] && ui_print "! + $PKGNAME entry commented out in copied overlay config"
fi fi
fi fi
done done