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

CommonInstaller: remove OmniClock specific work-around

This commit is contained in:
Christopher Roy Bratusek 2019-06-08 22:36:03 +02:00
parent 7638be8187
commit e10edff508

View File

@ -968,15 +968,7 @@ install_apps () {
ui_print "${APP_STRING}"
for app in ${INSTALL_APPS}; do
if [[ ${app} = OmniClock && -d /system/app/OmniClockOSS ]]; then
if [ "${nanodroid_override}" -eq 0 ]; then
ui_print " <<> app: OmniClock already provided by ROM (as OmniClockOSS)"
else
nanodroid_install_apk ${app}
echo " + removing conflicting OmniClockOSS"
${NANODROID_BINDIR}/nanodroid-overlay --add OmniClockOSS
fi
elif [[ -d /system/app/${app} && ! -d ${MODPATH}/system/app/${app} ]]; then
if [[ -d /system/app/${app} && ! -d ${MODPATH}/system/app/${app} ]]; then
if [ "${nanodroid_override}" -eq 0 ]; then
ui_print " <<> app: ${app} already provided by ROM"
else nanodroid_install_apk ${app}