Fix syntax error in docker-entrypoint.sh (#268)
authorShannon Wynter <redacted>
Sun, 27 Oct 2024 20:54:03 +0000 (06:54 +1000)
committerGitHub <redacted>
Sun, 27 Oct 2024 20:54:03 +0000 (21:54 +0100)
/docker-entrypoint.sh: line 148: [: missing `]'

apache/docker-entrypoint.sh
fpm-alpine/docker-entrypoint.sh
fpm/docker-entrypoint.sh
templates/docker-entrypoint.sh

index 587ca277f7806cd41c0766be30ada184af550398..a797d861baeaf07cd002979f29e369f0bab170ab 100755 (executable)
@@ -145,7 +145,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
     echo "\$config['oauth_client_secret'] = '${ROUNDCUBEMAIL_OAUTH_CLIENT_SECRET}';" >> config/config.docker.inc.php
   fi
 
-  if [ ! -z "${ROUNDCUBEMAIL_SPELLCHECK_URI}"]; then
+  if [ ! -z "${ROUNDCUBEMAIL_SPELLCHECK_URI}" ]; then
     echo "\$config['spellcheck_engine'] = 'googie';" >> config/config.docker.inc.php
     echo "\$config['spellcheck_uri'] = '${ROUNDCUBEMAIL_SPELLCHECK_URI}';" >> config/config.docker.inc.php
   fi
index 587ca277f7806cd41c0766be30ada184af550398..a797d861baeaf07cd002979f29e369f0bab170ab 100755 (executable)
@@ -145,7 +145,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
     echo "\$config['oauth_client_secret'] = '${ROUNDCUBEMAIL_OAUTH_CLIENT_SECRET}';" >> config/config.docker.inc.php
   fi
 
-  if [ ! -z "${ROUNDCUBEMAIL_SPELLCHECK_URI}"]; then
+  if [ ! -z "${ROUNDCUBEMAIL_SPELLCHECK_URI}" ]; then
     echo "\$config['spellcheck_engine'] = 'googie';" >> config/config.docker.inc.php
     echo "\$config['spellcheck_uri'] = '${ROUNDCUBEMAIL_SPELLCHECK_URI}';" >> config/config.docker.inc.php
   fi
index 587ca277f7806cd41c0766be30ada184af550398..a797d861baeaf07cd002979f29e369f0bab170ab 100755 (executable)
@@ -145,7 +145,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
     echo "\$config['oauth_client_secret'] = '${ROUNDCUBEMAIL_OAUTH_CLIENT_SECRET}';" >> config/config.docker.inc.php
   fi
 
-  if [ ! -z "${ROUNDCUBEMAIL_SPELLCHECK_URI}"]; then
+  if [ ! -z "${ROUNDCUBEMAIL_SPELLCHECK_URI}" ]; then
     echo "\$config['spellcheck_engine'] = 'googie';" >> config/config.docker.inc.php
     echo "\$config['spellcheck_uri'] = '${ROUNDCUBEMAIL_SPELLCHECK_URI}';" >> config/config.docker.inc.php
   fi
index 587ca277f7806cd41c0766be30ada184af550398..a797d861baeaf07cd002979f29e369f0bab170ab 100644 (file)
@@ -145,7 +145,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
     echo "\$config['oauth_client_secret'] = '${ROUNDCUBEMAIL_OAUTH_CLIENT_SECRET}';" >> config/config.docker.inc.php
   fi
 
-  if [ ! -z "${ROUNDCUBEMAIL_SPELLCHECK_URI}"]; then
+  if [ ! -z "${ROUNDCUBEMAIL_SPELLCHECK_URI}" ]; then
     echo "\$config['spellcheck_engine'] = 'googie';" >> config/config.docker.inc.php
     echo "\$config['spellcheck_uri'] = '${ROUNDCUBEMAIL_SPELLCHECK_URI}';" >> config/config.docker.inc.php
   fi
git clone https://git.99rst.org/PROJECT