diff --git a/root/etc/cont-init.d/40-config b/root/etc/cont-init.d/40-config index e1e8e9b..7621474 100644 --- a/root/etc/cont-init.d/40-config +++ b/root/etc/cont-init.d/40-config @@ -5,12 +5,11 @@ ln -s /usr/share/webapps/lychee /var/www/localhost/lychee [[ ! -e /config/lychee/data ]] - mkdir -p /config/lychee/data && \ + mkdir -p /config/lychee && \ cp -r /usr/share/webapps/lychee/data /config/lychee && \ rm -rf /usr/share/webapps/lychee/data [[ ! -e /config/lychee/uploads ]] - mkdir -p /config/lychee/uploads && \ cp -r /usr/share/webapps/lychee/uploads /config/lychee && \ rm -rf /usr/share/webapps/lychee/uploads