Handle empty /config, pass multiple args to chown

pull/6/head
Patrick Double 9 years ago
parent f07f9d553f
commit 2018f9046e

@ -2,6 +2,9 @@
if [ -d "/config/Library" ]; then if [ -d "/config/Library" ]; then
find /config/Library ! \( -user abc -a -group abc \) -exec chown -hv abc:abc {} \; find /config/Library ! \( -user abc -a -group abc \) -exec chown -hv abc:abc {} +
else
mkdir /config/Library
chown abc:abc /config/Library
fi fi

Loading…
Cancel
Save