From 752d0c2f2dbe9fd85e35a9b1eed19fe4d50fafb5 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Fri, 2 Mar 2018 00:12:52 +0100 Subject: [PATCH] lower than, once and for all --- lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.sh b/lib.sh index 60178bb6..48337cfd 100644 --- a/lib.sh +++ b/lib.sh @@ -543,7 +543,7 @@ check_command sudo -u www-data php "$NCPATH"/occ "$@"; } lowest_compatible_nc() { -if [ "${CURRENTVERSION%%.*}" -gt "$1" ] +if [ "${CURRENTVERSION%%.*}" -lt "$1" ] then msg_box "This script is developed to work with Nextcloud $1 and later Please upgrade your Nextcloud to that version before running this script