mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 14:42:01 -03:30
update.sh: Refresh NCP configuration after potential NC update
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
parent
c3fbaa61ac
commit
af45635719
@ -174,6 +174,9 @@ fi
|
||||
# update to the latest NC version
|
||||
is_active_app nc-autoupdate-nc && run_app nc-autoupdate-nc
|
||||
|
||||
# Refresh ncp config values
|
||||
source /usr/local/etc/library.sh
|
||||
|
||||
# check dist-upgrade
|
||||
check_distro "$NCPCFG" && check_distro etc/ncp.cfg || {
|
||||
php_ver_new=$(jq -r '.php_version' < etc/ncp.cfg)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user