From b30b43f2ae02928736a246807f311c1f9988fbf2 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Sun, 3 Mar 2024 22:58:01 -0400 Subject: [PATCH] Fix app replacement messages during install/update --- module/common_setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/common_setup.sh b/module/common_setup.sh index 451c727..92cc80a 100644 --- a/module/common_setup.sh +++ b/module/common_setup.sh @@ -50,9 +50,9 @@ for APP in $(grep -v '^#' $LIST); do 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" - [ "$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 done