Update 99_chown_plex_owned_files.sh
update conditional
This commit is contained in:
parent
ab2a1b42dc
commit
bf142b17af
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
if [ -f "/config/Library/Application Support" ]; then
|
if [ -d "/config/Library/Application Support" ]; then
|
||||||
find "/config/Library/Application Support" \! -user abc -exec chown -h abc:abc {} \;
|
find "/config/Library/Application Support" \! -user abc -exec chown -h abc:abc {} \;
|
||||||
find "/config/Library/Application Support" \! -group abc -exec chown -h abc:abc {} \;
|
find "/config/Library/Application Support" \! -group abc -exec chown -h abc:abc {} \;
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue