From 147908bb41b69e4d35d9863a1f00398a4fe54f86 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 17 Aug 2020 00:52:48 +0200 Subject: [PATCH] Debug --- bin/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/entrypoint.sh b/bin/entrypoint.sh index af31c66..2a2d571 100755 --- a/bin/entrypoint.sh +++ b/bin/entrypoint.sh @@ -11,8 +11,8 @@ fi cp -r /data/mumo.ini /mumo # if additional configuration is defined, we will replace our local default config. -[ -f /data/modules-enabled ] && cp -r /data/modules-enabled /mumo -[ -f /data/modules ] && cp -r /data/modules /mumo +[ -d /data/modules-enabled ] && cp -r /data/modules-enabled /mumo +[ -d /data/modules ] && rm -rf /mumo/modules && cp -r /data/modules /mumo # make sure our dir is writable for the user chown mumo:mumo /mumo -R