Skip to content

Commit

Permalink
update: fix distro check detection
Browse files Browse the repository at this point in the history
Signed-off-by: nachoparker <[email protected]>
  • Loading branch information
nachoparker committed Jul 20, 2019
1 parent 212bd46 commit 31f7e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 31f7e52

Please sign in to comment.