add message box outline for no updates set
This commit is contained in:
parent
1ed5257235
commit
e92f5b104d
3 changed files with 15 additions and 8 deletions
11
root/etc/cont-init.d/50-chown-files
Normal file
11
root/etc/cont-init.d/50-chown-files
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue