CommonInstaller: if OmniClockOSS is installed, OmniClock is not installed

merge-requests/23/head
Christopher Roy Bratusek 6 years ago
parent 51e7ce9d3c
commit 6f7a241fa3

@ -15,6 +15,7 @@
* if the user had Bucket in the lists of applications to install, NanoDroid will auto-migrate to Substratum
* add OmniClock and pseudo/debloat DeskClock by default
* OmniClock allows to disable that brain-dead pre-alerts
* if OmniClockOSS is installed, OmniClock is not installed
* switch from stable Amaze build to official beta build
* Full, microG packages
* custom builds for microG GmsCore and microG DroidGuard Helper

@ -713,7 +713,9 @@ install_apps () {
for app in ${INSTALL_APPS}; do
if [[ ${app} = Adaway && -d /system/app/AdAway ]]; then
ui_print " <<> app: ${app} already provided by ROM (as AdAway)"
ui_print " <<> app: Adaway already provided by ROM (as AdAway)"
if [[ ${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"
elif [[ -d "${INSTALLER}/system/app/${app}" ]]; then
@ -721,7 +723,6 @@ install_apps () {
else ui_print " <<>> app: ${app} missing"
fi
done
else ui_print " << without applications"
fi
}

Loading…
Cancel
Save