mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
reverted bin bash and changed folder locations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user