From 8e5f8e9572395f5d1058cfc217f0fb467f90bb3a Mon Sep 17 00:00:00 2001 From: Christoph Date: Fri, 16 Jun 2017 02:24:05 +0200 Subject: [PATCH] Fix bug in settin parameter 'PHP_ENGINE'. --- update_nextcloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')"