Update 21-folders

This commit is contained in:
Alexandre
2021-08-31 19:18:13 +02:00
committed by GitHub
parent 5fc3dc9a03
commit 23cdd1352f

View File

@@ -4,12 +4,11 @@
# SYMLINK CONFIG #
##################
if [ /share/plex/Library ]; then
echo "Using existing Library folder"
rm /config/Library
if [ ! -d /share/plex ]; then
mkdir /share/plex || true
echo "Copying Library folder"
mv /config/Library /share/plex
ln -s /share/plex/Library /config
chown -R abc:abc /share/plex
else
mkdir /share/plex
chown -R abc:abc /share/plex
fi