mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-15 17:08:19 +01:00
15 lines
287 B
Plaintext
15 lines
287 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
##################
|
|
# SYMLINK CONFIG #
|
|
##################
|
|
|
|
if [ /share/plex/Library ]; then
|
|
echo "Using existing Library folder"
|
|
rm /config/Library
|
|
ln -s /share/plex/Library /config
|
|
chown -R abc:abc /share/plex
|
|
else
|
|
chown -R abc:abc /share/plex
|
|
fi
|