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:
parent
05ab4b37e1
commit
d2ed8c5f91
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ then
|
||||||
if exec_occ app:list | awk '/Disabled/{f=1;next} f' | grep -q -w notify_push; then
|
if exec_occ app:list | awk '/Disabled/{f=1;next} f' | grep -q -w notify_push; then
|
||||||
exec_occ app:enable notify_push
|
exec_occ app:enable notify_push
|
||||||
# If notify_push is not installed, install it
|
# 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
|
exec_occ app:install notify_push
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue