Skip to content

Commit 5ade9f1

Browse files
authored
check if the version is equal to or greater than
1 parent e1ce38d commit 5ade9f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nextcloud_update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ fi
232232
# Check if PHP version is compatible with $NCVERSION
233233
PHP_VER=71
234234
NC_VER=16
235-
if [ "${NCVERSION%%.*}" -eq "$NC_VER" ]
235+
if [ "${NCVERSION%%.*}" -ge "$NC_VER" ]
236236
then
237237
if [ "$(php -v | head -n 1 | cut -d " " -f 2 | cut -c 1,3)" -lt "$PHP_VER" ]
238238
then

0 commit comments

Comments
 (0)