re-add folders for emby

This commit is contained in:
Alexandre
2020-12-10 12:15:22 +01:00
parent b2e1410e30
commit ef90105870
3 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#!/usr/bin/with-contenv bash
if [ ! -d /share/storage/movies ]; then
echo "Creating /share/storage/movies"
mkdir -p /share/storage/movies
chown -R abc:abc /share/storage/movies
fi
if [ ! -d /share/downloads ]; then
echo "Creating /share/downloads"
mkdir -p /share/downloads
chown -R abc:abc /share/downloads
fi
if [ ! -d /config/emby ]; then
echo "Creating /config/emby"
mkdir -p /config/emby
chown -R abc:abc /config/emby
fi