fix theme upload

This commit is contained in:
holzi1005 2024-11-16 14:14:17 +01:00
parent 7a1b3ececd
commit 47c94b6030

View file

@ -51,7 +51,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" ]" >> /docker-entrypoint-init.d/02-theme.sh \
&& echo "then" >> /docker-entrypoint-init.d/02-theme.sh \
&& echo " cp ${WEBDIR}/data/theme/theme/*.json.signed ${WEBDIR}/theme/" >> /docker-entrypoint-init.d/02-theme.sh \
&& echo " cp ${WEBDIR}/data/theme/*.json.signed ${WEBDIR}/theme/" >> /docker-entrypoint-init.d/02-theme.sh \
&& echo " cp -r ${WEBDIR}/data/theme/public/* ${WEBDIR}/public/" >> /docker-entrypoint-init.d/02-theme.sh \
&& echo "fi" >> /docker-entrypoint-init.d/02-theme.sh \
&& chmod +x /docker-entrypoint-init.d/02-theme.sh