File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ RUN set -ex; \
104
104
rm -rf /usr/src/roundcubemail/installer; \
105
105
chown -R www-data:www-data /usr/src/roundcubemail/logs; \
106
106
# Create the config dir
107
- mkdir -p /var /roundcube/config
107
+ mkdir -p /var /roundcube/config / var /roundcube/enigma
108
108
109
109
ENTRYPOINT [" /docker-entrypoint.sh" ]
110
110
CMD [" %% CMD%% " ]
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ RUN set -ex; \
110
110
rm -rf /usr/src/roundcubemail/installer; \
111
111
chown -R www-data:www-data /usr/src/roundcubemail/logs; \
112
112
# Create the config dir
113
- mkdir -p /var/roundcube/config
113
+ mkdir -p /var/roundcube/config /var/roundcube/enigma
114
114
115
115
ENTRYPOINT ["/docker-entrypoint.sh"]
116
116
CMD ["%%CMD%%"]
Original file line number Diff line number Diff line change @@ -150,6 +150,10 @@ if [[ "$1" == apache2* || "$1" == php-fpm || "$1" == bin* ]]; then
150
150
echo " \$ config['spellcheck_uri'] = '${ROUNDCUBEMAIL_SPELLCHECK_URI} ';" >> config/config.docker.inc.php
151
151
fi
152
152
153
+ if [[ " $ROUNDCUBEMAIL_PLUGINS " = * enigma* ]]; then
154
+ echo " $config ['enigma_pgp_homedir'] = '/var/roundcube/enigma';" >> config/config.docker.inc.php
155
+ fi
156
+
153
157
# include custom config files
154
158
for fn in ` ls /var/roundcube/config/* .php 2> /dev/null || true` ; do
155
159
echo " include('$fn ');" >> config/config.docker.inc.php
You can’t perform that action at this time.
0 commit comments