mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Fix detection of mail app enabled
This commit is contained in:
parent
23d2629be9
commit
1fe41e5570
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue