mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Change import check from falsy to truthy
I should have really tested this 😅
This should be the last hotpush
This commit is contained in:
parent
e34f91396b
commit
0ed4347254
@ -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 ./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 {} \;
|
||||
|
Loading…
Reference in New Issue
Block a user