mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 99-run.sh
This commit is contained in:
@@ -5,7 +5,7 @@ set -e
|
|||||||
#################
|
#################
|
||||||
# Set structure #
|
# Set structure #
|
||||||
#################
|
#################
|
||||||
for folders in config users indexdir database secret media cache thumbnail_cache db persist; do
|
for folders in config users indexdir secret media cache thumbnail_cache persist; do
|
||||||
mkdir -p /config/"$folders"
|
mkdir -p /config/"$folders"
|
||||||
if [ -d /app/"$folders" ] && [ "$(ls -A /app/"$folders")" ]; then
|
if [ -d /app/"$folders" ] && [ "$(ls -A /app/"$folders")" ]; then
|
||||||
cp -rn /app/"$folders"/* /config/"$folders"
|
cp -rn /app/"$folders"/* /config/"$folders"
|
||||||
|
|||||||
Reference in New Issue
Block a user