We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1386bc9 commit 1c30becCopy full SHA for 1c30bec
docker/docker-entrypoint.d/18-load-element-modules.sh
@@ -14,10 +14,9 @@ entrypoint_log() {
14
mkdir -p /tmp/element-web-config
15
cp /app/config*.json /tmp/element-web-config/
16
17
-# If there are modules to be loaded
18
-if [ -d "/modules" ]; then
+# If the module directory exists AND the module directory has modules in it
+if [ -d "/modules" ] && [ "$( ls -A '/modules' )" ]; then
19
cd /modules
20
-
21
for MODULE in *
22
do
23
# If the module has a package.json, use its main field as the entrypoint
0 commit comments