mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
check if the version is equal to or greater than
This commit is contained in:
parent
e1ce38dae1
commit
5ade9f158a
@ -232,7 +232,7 @@ fi
|
||||
# Check if PHP version is compatible with $NCVERSION
|
||||
PHP_VER=71
|
||||
NC_VER=16
|
||||
if [ "${NCVERSION%%.*}" -eq "$NC_VER" ]
|
||||
if [ "${NCVERSION%%.*}" -ge "$NC_VER" ]
|
||||
then
|
||||
if [ "$(php -v | head -n 1 | cut -d " " -f 2 | cut -c 1,3)" -lt "$PHP_VER" ]
|
||||
then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user