add check line for download of plex on update

This commit is contained in:
sparklyballs 2016-07-24 05:38:27 +01:00
parent 097b6c57ed
commit 3d5fd85f3c
2 changed files with 4 additions and 2 deletions

View file

@ -6,7 +6,8 @@ if [ ! -d "/config/Library" ]; then
fi
if [ ! -f "/config/Library/linuxserver-chown.lock" ]; then
find /config/Library ! \( -user abc -a -group root \) -print0 | xargs -0 chown abc:root
find /config/Library ! \( -user abc -a -group abc \) -print0 | xargs -0 chown abc:abc
touch /config/Library/linuxserver-chown.lock
chown abc:abc /config/Library/linuxserver-chown.lock
fi