fix theme copy

This commit is contained in:
holzi1005 2024-11-16 13:19:19 +01:00
parent 5209317244
commit 7c2b446c89

View file

@ -50,7 +50,7 @@ RUN echo "# Docker Cron Jobs" > /etc/crontabs/nobody \
RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/02-theme.sh \
&& echo "if [ -d "${WEBDIR}/data/theme" ]; then" >> /docker-entrypoint-init.d/02-theme.sh \
&& echo " cp -r ${WEBDIR}/data/theme/theme/*.json.signed* ${WEBSIR}/theme/" >> /docker-entrypoint-init.d/02-theme.sh \
&& echo " cp ${WEBDIR}/data/theme/theme/*.json.signed* ${WEBSIR}/theme/" >> /docker-entrypoint-init.d/02-theme.sh \
&& echo " cp -r ${WEBDIR}/data/theme/public/* ${WEBSIR}/public/" >> /docker-entrypoint-init.d/02-theme.sh \
&& echo "fi" >> /docker-entrypoint-init.d/03-theme.sh \
&& chmod +x /docker-entrypoint-init.d/*