This commit is contained in:
paul 2020-08-17 00:52:48 +02:00
parent 63bf4fb986
commit 147908bb41

View file

@ -11,8 +11,8 @@ fi
cp -r /data/mumo.ini /mumo cp -r /data/mumo.ini /mumo
# if additional configuration is defined, we will replace our local default config. # if additional configuration is defined, we will replace our local default config.
[ -f /data/modules-enabled ] && cp -r /data/modules-enabled /mumo [ -d /data/modules-enabled ] && cp -r /data/modules-enabled /mumo
[ -f /data/modules ] && cp -r /data/modules /mumo [ -d /data/modules ] && rm -rf /mumo/modules && cp -r /data/modules /mumo
# make sure our dir is writable for the user # make sure our dir is writable for the user
chown mumo:mumo /mumo -R chown mumo:mumo /mumo -R