Fix bash syntax in fpm entry points
authorThomas Bruederli <redacted>
Sat, 9 Nov 2019 21:36:09 +0000 (22:36 +0100)
committerThomas Bruederli <redacted>
Sat, 9 Nov 2019 21:36:09 +0000 (22:36 +0100)
Apply commit 64f878afab to fpm variants

fpm-alpine/docker-entrypoint.sh
fpm/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
 
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