Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-07-20 02:17:37 +0300
committernachoparker <nacho@ownyourbits.com>2019-07-20 19:46:34 +0300
commit31f7e52d9b7d105d7d9a1b5703fd5c71725c1b88 (patch)
tree6aee8e198c66e93190288614c3106afeb83e9278 /update.sh
parent212bd467ab3150240cd2964eb58a4848c3496f24 (diff)
update: fix distro check detection
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
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)