reverted bin bash and changed folder locations

This commit is contained in:
bruvv
2022-01-02 10:41:34 +01:00
parent c98b3db85b
commit 93b5c6d596
10 changed files with 46 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bashio
#!/bin/bash
if [ ! -d /share/storage/movies ]; then
echo "Creating /share/storage/movies"
@@ -6,6 +6,12 @@ if [ ! -d /share/storage/movies ]; then
chown -R abc:abc /share/storage/movies
fi
if [ ! -d /share/storage/tv ]; then
echo "Creating /share/storage/tv"
mkdir -p /share/storage/tv
chown -R abc:abc /share/storage/tv
fi
if [ ! -d /share/downloads ]; then
echo "Creating /share/downloads"
mkdir -p /share/downloads