From 31f7e52d9b7d105d7d9a1b5703fd5c71725c1b88 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Fri, 19 Jul 2019 17:17:37 -0600 Subject: [PATCH] update: fix distro check detection Signed-off-by: nachoparker --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 7ebe90ef..76c02c0b 100755 --- a/update.sh +++ b/update.sh @@ -160,7 +160,7 @@ chown -R www-data: /var/www/nextcloud/apps/nextcloudpi is_active_app nc-autoupdate-nc && run_app nc-autoupdate-nc # check dist-upgrade -check_distro "$NCPCFG" || check_distro etc/ncp.cfg && { +check_distro "$NCPCFG" && check_distro etc/ncp.cfg || { php_ver_new=$(jq -r '.php_version' < etc/ncp.cfg) release_new=$(jq -r '.release' < etc/ncp.cfg) issue_new=$( jq -r '.release_issue' < etc/ncp.cfg)