Skip to content

Commit

Permalink
NC 31
Browse files Browse the repository at this point in the history
Nextcloud 31 may require at least PHP 8.2

Signed-off-by: Daniel Hansson <[email protected]>
  • Loading branch information
enoch85 authored Sep 19, 2024
1 parent b26719d commit 22934a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextcloud_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ fi
# Check if PHP version is compatible with $NCVERSION
# https://github.com/nextcloud/server/issues/29258
PHP_VER=81
NC_VER=32
NC_VER=31
if [ "${NCVERSION%%.*}" -ge "$NC_VER" ]
then
if [ "$(php -v | head -n 1 | cut -d " " -f 2 | cut -c 1,3)" -lt "$PHP_VER" ]
Expand Down

0 comments on commit 22934a5

Please sign in to comment.