2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-09 19:10:30 +00:00

CommonInstaller: drop nanodroid_override

This commit is contained in:
Christopher Roy Bratusek 2019-06-08 22:42:24 +02:00
parent 99fab8a2f3
commit f0c7a4f59e

View File

@ -968,11 +968,8 @@ install_apps () {
ui_print "${APP_STRING}" ui_print "${APP_STRING}"
for app in ${INSTALL_APPS}; do for app in ${INSTALL_APPS}; do
if [[ -d /system/app/${app} && ! -d ${MODPATH}/system/app/${app} ]]; then if [[ -d /system/app/${app} ]]; then
if [ "${nanodroid_override}" -eq 0 ]; then ui_print " <<> app: ${app} already provided by ROM"
ui_print " <<> app: ${app} already provided by ROM"
else nanodroid_install_apk ${app}
fi
elif [[ -d "${INSTALLER}/system/app/${app}" ]]; then elif [[ -d "${INSTALLER}/system/app/${app}" ]]; then
nanodroid_install_apk ${app} nanodroid_install_apk ${app}
else ui_print " <<>> app: ${app} missing" else ui_print " <<>> app: ${app} missing"