Fix injecting enigma homedir
authorPablo Zmdl <redacted>
Wed, 4 Dec 2024 09:05:31 +0000 (10:05 +0100)
committerPablo Zmdl <redacted>
Wed, 4 Dec 2024 09:33:22 +0000 (10:33 +0100)
apache/docker-entrypoint.sh
fpm-alpine/docker-entrypoint.sh
fpm/docker-entrypoint.sh
templates/docker-entrypoint.sh

index 176173aecd439427602cc4c6550eace21c735305..64d96b2b6c6c387e48a9b3cb12bcecec35650f82 100755 (executable)
@@ -152,7 +152,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
 
   # If the "enigma" plugin is enabled but has no storage configured, inject a default value for the mandatory setting.
   if $(echo $ROUNDCUBEMAIL_PLUGINS | grep -Eq '\benigma\b') && ! grep -qr enigma_pgp_homedir /var/roundcube/config/; then
-    echo "$config['enigma_pgp_homedir'] = '/var/roundcube/enigma';" >> config/config.docker.inc.php
+    echo "\$config['enigma_pgp_homedir'] = '/var/roundcube/enigma';" >> config/config.docker.inc.php
   fi
 
   # include custom config files
index 176173aecd439427602cc4c6550eace21c735305..64d96b2b6c6c387e48a9b3cb12bcecec35650f82 100755 (executable)
@@ -152,7 +152,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
 
   # If the "enigma" plugin is enabled but has no storage configured, inject a default value for the mandatory setting.
   if $(echo $ROUNDCUBEMAIL_PLUGINS | grep -Eq '\benigma\b') && ! grep -qr enigma_pgp_homedir /var/roundcube/config/; then
-    echo "$config['enigma_pgp_homedir'] = '/var/roundcube/enigma';" >> config/config.docker.inc.php
+    echo "\$config['enigma_pgp_homedir'] = '/var/roundcube/enigma';" >> config/config.docker.inc.php
   fi
 
   # include custom config files
index 176173aecd439427602cc4c6550eace21c735305..64d96b2b6c6c387e48a9b3cb12bcecec35650f82 100755 (executable)
@@ -152,7 +152,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
 
   # If the "enigma" plugin is enabled but has no storage configured, inject a default value for the mandatory setting.
   if $(echo $ROUNDCUBEMAIL_PLUGINS | grep -Eq '\benigma\b') && ! grep -qr enigma_pgp_homedir /var/roundcube/config/; then
-    echo "$config['enigma_pgp_homedir'] = '/var/roundcube/enigma';" >> config/config.docker.inc.php
+    echo "\$config['enigma_pgp_homedir'] = '/var/roundcube/enigma';" >> config/config.docker.inc.php
   fi
 
   # include custom config files
index 176173aecd439427602cc4c6550eace21c735305..64d96b2b6c6c387e48a9b3cb12bcecec35650f82 100644 (file)
@@ -152,7 +152,7 @@ if  [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
 
   # If the "enigma" plugin is enabled but has no storage configured, inject a default value for the mandatory setting.
   if $(echo $ROUNDCUBEMAIL_PLUGINS | grep -Eq '\benigma\b') && ! grep -qr enigma_pgp_homedir /var/roundcube/config/; then
-    echo "$config['enigma_pgp_homedir'] = '/var/roundcube/enigma';" >> config/config.docker.inc.php
+    echo "\$config['enigma_pgp_homedir'] = '/var/roundcube/enigma';" >> config/config.docker.inc.php
   fi
 
   # include custom config files
git clone https://git.99rst.org/PROJECT