diff --git a/update_nextcloud.sh b/update_nextcloud.sh index fb1b96d..12465d2 100755 --- a/update_nextcloud.sh +++ b/update_nextcloud.sh @@ -244,7 +244,7 @@ if [[ ! -d ${WEB_BASE_DIR} ]] ; then fatal "Web base directory not found (parameter 'WEB_BASE_DIR')" fi -[[ -n "$PHP_ENGINE " ]] || PHP_ENGINE=$DEFAULT_PHP_ENGINE +[[ -n "$PHP_ENGINE" ]] || PHP_ENGINE=$DEFAULT_PHP_ENGINE if [[ "$PHP_ENGINE" = "FPM" ]] && [[ -z "$PHP_VERSION" ]] ; then fatal "PHP Version must be givven if running PHP-FPM engine (parameter 'PHP_VERSION')"