diff --git a/CommonInstaller b/CommonInstaller index eec3227..a3c4b73 100644 --- a/CommonInstaller +++ b/CommonInstaller @@ -1201,11 +1201,8 @@ install_apps () { print_info " << with applications" APP_STRING=" <<>" - INSTALL_APPS=$(grep -v "^#" "${cfg_apps}") - for app in ${INSTALL_APPS}; do - if [[ -d /system/app/${app} && ! -d ${MAGISKBASE}/modules/${MODID}/system/app/${app} ]]; then - print_info " ++ app: ${app} already provided by ROM" - elif [[ -d "${INSTALLER}/system/app/${app}" ]]; then + grep -v "^#" "${cfg_apps}" | while read app; do + if [ -d "${INSTALLER}/system/app/${app}" ]; then print_info " ++ ${app}" nanodroid_install_apk ${app} else print_info " ++ app: ${app} missing"