mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 01:48:16 +01:00
14 lines
297 B
Plaintext
14 lines
297 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
if [ ! -d /share/plex ]; then
|
|
echo "Creating /share/plex"
|
|
mkdir -p /share/plex
|
|
chown -R abc:abc /share/plex
|
|
fi
|
|
|
|
if [ ! -d /share/plex/Library ]; then
|
|
echo "Creating /share/plex/Library"
|
|
mkdir -p /share/plex/Library
|
|
chown -R abc:abc /share/plex/Library
|
|
fi
|