From d2ed8c5f912ee09091226fb168b243ada86f3eca Mon Sep 17 00:00:00 2001 From: Kay0u Date: Thu, 10 Jun 2021 12:17:26 +0200 Subject: [PATCH] fix upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 7bbb6d5..1bda9f1 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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