mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-08 23:50:05 +02: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
|