1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

fix upgrade

This commit is contained in:
Kay0u 2021-06-10 12:17:26 +02:00
parent 05ab4b37e1
commit d2ed8c5f91
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -387,7 +387,7 @@ then
if exec_occ app:list | awk '/Disabled/{f=1;next} f' | grep -q -w notify_push; then
exec_occ app:enable notify_push
# If notify_push is not installed, install it
elif exec_occ app:list | awk '/Enabled/{f=1;next} /Disabled/{f=0} f' | grep -q -w notify_push; then
elif ! exec_occ app:list | awk '/Enabled/{f=1;next} /Disabled/{f=0} f' | grep -q -w notify_push; then
exec_occ app:install notify_push
fi