mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-20 15:51:50 +02:00
Update 21-folders
This commit is contained in:
@@ -4,12 +4,11 @@
|
|||||||
# SYMLINK CONFIG #
|
# SYMLINK CONFIG #
|
||||||
##################
|
##################
|
||||||
|
|
||||||
if [ /share/plex/Library ]; then
|
if [ ! -d /share/plex ]; then
|
||||||
echo "Using existing Library folder"
|
mkdir /share/plex || true
|
||||||
rm /config/Library
|
echo "Copying Library folder"
|
||||||
|
mv /config/Library /share/plex
|
||||||
ln -s /share/plex/Library /config
|
ln -s /share/plex/Library /config
|
||||||
chown -R abc:abc /share/plex
|
|
||||||
else
|
else
|
||||||
mkdir /share/plex
|
|
||||||
chown -R abc:abc /share/plex
|
chown -R abc:abc /share/plex
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user