mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-28 11:24:04 +02:00
Update 90-create_links.sh
This commit is contained in:
@@ -7,9 +7,6 @@
|
|||||||
if [ ! -d /share/plex ]; then
|
if [ ! -d /share/plex ]; then
|
||||||
echo "Creating /share/plex"
|
echo "Creating /share/plex"
|
||||||
mkdir -p /share/plex
|
mkdir -p /share/plex
|
||||||
chown -R "$PUID:$PGID" /share/plex
|
|
||||||
else
|
|
||||||
chown -R "$PUID:$PGID" /share/plex
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d /share/plex/Library ]; then
|
if [ ! -d /share/plex/Library ]; then
|
||||||
@@ -22,3 +19,7 @@ else
|
|||||||
ln -s /share/plex/Library /config
|
ln -s /share/plex/Library /config
|
||||||
echo "Using existing config"
|
echo "Using existing config"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
chown -R "$PUID:$PGID" /config/Library
|
||||||
|
chown -R "$PUID:$PGID" /share/plex
|
||||||
|
chmod -R 777 /share/plex
|
||||||
|
|||||||
Reference in New Issue
Block a user