2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-11 13:11:24 +00:00

CommonInstaller: minor change

This commit is contained in:
Christopher Roy Bratusek 2019-07-08 20:47:47 +02:00
parent f58c74b672
commit 0fe718d6dc

View File

@ -980,17 +980,11 @@ install_apps () {
APP_STRING=" <<>"
INSTALL_APPS=$(cat "${cfg_apps}")
for app in ${INSTALL_APPS}; do
[[ -d "${INSTALLER}/system/app/${app}" ]] && \
APP_STRING="${APP_STRING} ${app}, "
done
ui_print "${APP_STRING}"
for app in ${INSTALL_APPS}; do
if [[ -d /system/app/${app} ]]; then
ui_print " <<> app: ${app} already provided by ROM"
elif [[ -d "${INSTALLER}/system/app/${app}" ]]; then
ui_print " <<> ${app}"
nanodroid_install_apk ${app}
else ui_print " <<>> app: ${app} missing"
fi