Update 90-create_links.sh

This commit is contained in:
Alexandre
2023-09-14 10:12:34 +02:00
committed by GitHub
parent 52b18b581a
commit 71197581b6

View File

@@ -7,9 +7,6 @@
if [ ! -d /share/plex ]; then
echo "Creating /share/plex"
mkdir -p /share/plex
chown -R "$PUID:$PGID" /share/plex
else
chown -R "$PUID:$PGID" /share/plex
fi
if [ ! -d /share/plex/Library ]; then
@@ -22,3 +19,7 @@ else
ln -s /share/plex/Library /config
echo "Using existing config"
fi
chown -R "$PUID:$PGID" /config/Library
chown -R "$PUID:$PGID" /share/plex
chmod -R 777 /share/plex