Update 99-run.sh

This commit is contained in:
Alexandre
2024-12-29 10:11:48 +01:00
committed by GitHub
parent 973223b8a7
commit 6a3aa13bb7

View File

@@ -5,7 +5,7 @@ set -e
#################
# 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"
if [ -d /app/"$folders" ] && [ "$(ls -A /app/"$folders")" ]; then
cp -rn /app/"$folders"/* /config/"$folders"