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

CommonInstaller: fix derp

This commit is contained in:
Christopher Roy Bratusek 2018-07-11 21:15:38 +02:00
parent fac0ce9939
commit fe880377da

View File

@ -714,7 +714,7 @@ install_apps () {
for app in ${INSTALL_APPS}; do
if [[ ${app} = Adaway && -d /system/app/AdAway ]]; then
ui_print " <<> app: Adaway already provided by ROM (as AdAway)"
if [[ ${app} = OmniClock && -d /system/app/OmniClockOSS ]]; then
elif [[ ${app} = OmniClock && -d /system/app/OmniClockOSS ]]; then
ui_print " <<> app: OmniClock already provided by ROM (as OmniClockOSS)"
elif [[ -d /system/app/${app} && ! -d ${RESTORE_PATH}/system/app/${app} ]]; then
ui_print " <<> app: ${app} already provided by ROM"