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