mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
update: fix distro check detection
Signed-off-by: nachoparker <nacho@ownyourbits.com>
This commit is contained in:
parent
212bd467ab
commit
31f7e52d9b
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user