Fix incorrect import dir path

I'm a diddy
This commit is contained in:
Iain Powrie 2022-06-10 23:56:50 +00:00
parent 7f068ae0f5
commit e34f91396b

View File

@ -23,7 +23,7 @@ if [ $(id -u) -eq 0 ]; then
# If we find files in import directory, we need to ensure all dirs are owned by the root group,
# This fixes bind mounts that may have incorrect perms.
if [ ! "$(ls -A --ignore=.gitkeep ./app/import)" ]; then
if [ ! "$(ls -A --ignore=.gitkeep ./import)" ]; then
echo "Wrapper | 📋 Files present in import, checking/fixing permissions..."
echo "Wrapper | ⏳ Please be paitent for larger servers..."
find . ! -group root -exec chgrp root {} \;