add message box outline for no updates set

This commit is contained in:
sparklyballs 2016-08-22 13:20:40 +01:00
parent 1ed5257235
commit e92f5b104d
3 changed files with 15 additions and 8 deletions

View file

@ -0,0 +1,11 @@
#!/usr/bin/with-contenv bash
# check for preferences file and exit out if not found
[[ ! -e "/config/Library/Application Support/Plex Media Server/Preferences.xml" ]] && \
exit 0
if [ ! -f "/config/Library/linuxserver-chown.lock" ]; then
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