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-25 02:13:11 +0300
committernachoparker <nacho@ownyourbits.com>2019-07-25 02:26:05 +0300
commite30271f96f5c162b5c32ec41aa7987ae66bce62c (patch)
treeaeb6d999e9f98d82e90c80e461f5a9b80066e6c8 /update.sh
parent2fb7225d28cbac6d124533eb0cbc5ada0ccb731f (diff)
armbian: fix distro check
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 75103b90..18c49871 100755
--- a/update.sh
+++ b/update.sh
@@ -165,12 +165,10 @@ is_active_app nc-autoupdate-nc && run_app nc-autoupdate-nc
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)
cfg="$(jq '.' "$NCPCFG")"
cfg="$(jq '.php_version = "'$php_ver_new'"' <<<"$cfg")"
cfg="$(jq '.release = "'$release_new'"' <<<"$cfg")"
- cfg="$(jq '.release_issue = '"$issue_new" <<<"$cfg")"
echo "$cfg" > /usr/local/etc/ncp-recommended.cfg
[[ -f /.dockerenv ]] && \