minor, but breaking; no connected [ or ] in expr. in bash allowed
authorMarkus Meissner <redacted>
Fri, 20 Sep 2019 23:57:55 +0000 (01:57 +0200)
committerMarkus Meissner <redacted>
Fri, 20 Sep 2019 23:57:55 +0000 (01:57 +0200)
apache/docker-entrypoint.sh

index 76d1cc7477c33cf1335aa09f9f753eabd880f972..a8f7cbd665220666668b434be9b89922198d580b 100755 (executable)
@@ -14,10 +14,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
     echo >&2 "Complete! ROUNDCUBEMAIL has been successfully copied to $PWD"
   fi
 
-  if [ -f /run/secrets/roundcube_db_user]; then
+  if [ -f /run/secrets/roundcube_db_user ]; then
     ROUNDCUBEMAIL_DB_USER=`cat /run/secrets/roundcube_db_user`
   fi
-  if [ -f /run/secrets/roundcube_db_password]; then
+  if [ -f /run/secrets/roundcube_db_password ]; then
     ROUNDCUBEMAIL_DB_PASSWORD=`cat /run/secrets/roundcube_db_password`
   fi
 
git clone https://git.99rst.org/PROJECT