Browse Source

Fix detection of mail app enabled

pull/360/head
Kay0u 5 years ago
parent
commit
1fe41e5570
No known key found for this signature in database GPG Key ID: AE1DCADB6415A156
  1. 3
      scripts/upgrade

3
scripts/upgrade

@ -245,7 +245,8 @@ then
exec_occ -V
# Upgrade may fail if this app is enabled
exec_occ app:list | grep -q -w mail
# Take all apps enabled, and check if mail is one of them
exec_occ app:list | awk '/Enabled/{f=1;next} /Disabled/{f=0} f' | grep -q -w mail
mail_app_is_active=$?
# Temporary disable the mail app

Loading…
Cancel
Save