From de8ba1b570a8df394c62a4e16793b634cf2261cd Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Wed, 25 Jan 2023 19:33:19 -0600 Subject: [PATCH] Fix perm check --- root/etc/s6-overlay/s6-rc.d/init-heimdall-config/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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