diff --git a/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/run b/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/run index 9c25723..acb35fa 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-heimdall-config/run @@ -41,8 +41,8 @@ rm -rf /app/www/storage/app/searchproviders.yaml ln -s /config/www/searchproviders.yaml /app/www/storage/app/searchproviders.yaml # tidy up install files & set permissions -if [[ -d /app/set-perms ]]; then - rm /app/set-perms +if [[ -f /app/set-perms ]]; then + rm -rf /app/set-perms lsiown -R abc:abc \ /app/www \ /config