Browse Source

fix upgrade

add-notify_push-option
Kay0u 5 years ago
parent
commit
bc77114654
No known key found for this signature in database GPG Key ID: AAFEEB16CFA2AE2D
  1. 2
      scripts/upgrade

2
scripts/upgrade

@ -443,7 +443,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…
Cancel
Save