From bc77114654393ed3110efdbbe9ed842f259ff7cd 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 20756b8..15db7dc 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -443,7 +443,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