mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 90-create_links.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user