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
path: root/bin
diff options
context:
space:
mode:
authorTobias K <6317548+theCalcaholic@users.noreply.github.com>2022-04-12 13:41:27 +0300
committerTobias K <6317548+theCalcaholic@users.noreply.github.com>2022-04-12 13:41:27 +0300
commita799eec113caa0ad0c8642fad9d27d2ea6ed09e9 (patch)
treef7e8447f8445ca8d7e0571ec26eee86bebb04ab5 /bin
parent2fbb82df856b7885e1c1560ba63e8fd7562e73b8 (diff)
parent6b47bfc3cfc096528758829a28f130dcd18cdd17 (diff)
Merge branch 'master' into devel
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ncp-dist-upgrade4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ncp-dist-upgrade b/bin/ncp-dist-upgrade
index 2deacd13..8b5ae006 100755
--- a/bin/ncp-dist-upgrade
+++ b/bin/ncp-dist-upgrade
@@ -69,8 +69,8 @@ apt-get dist-upgrade -y
# install latest PHP version
release_new=$(jq -r '.release' < "${new_cfg}")
-# the default repo in bullseye is bullseye-security
-release_new="${release_new}-security"
+# the default repo in bullseye is bullseye-security - except for Raspbian
+[[ -f /usr/bin/raspi-config ]] || release_new="${release_new}-security"
php_ver_new=$(jq -r '.php_version' < "${new_cfg}")
$APTINSTALL -t ${release_new} php${php_ver_new} php${php_ver_new}-curl php${php_ver_new}-gd php${php_ver_new}-fpm php${php_ver_new}-cli php${php_ver_new}-opcache \