Fixed log issues

This commit is contained in:
Djeex
2025-09-04 10:00:57 +02:00
parent 1119647884
commit 5fb6ef18d1

View File

@ -14,7 +14,7 @@ copy_default_config() {
files_copied=false files_copied=false
# Recursively check all files and folders in /app/default # Recursively check all files and folders in /app/default
find /app/default -mindepth 1 | while read src; do while IFS= read -r src; do
relpath="${src#/app/default/}" relpath="${src#/app/default/}"
target="/app/config/$relpath" target="/app/config/$relpath"
if [ ! -e "$target" ]; then if [ ! -e "$target" ]; then
@ -26,7 +26,7 @@ copy_default_config() {
fi fi
files_copied=true files_copied=true
fi fi
done done < <(find /app/default -mindepth 1)
if [ "$files_copied" = true ]; then if [ "$files_copied" = true ]; then
echo "[✓] Default configuration files/folders copied successfully." echo "[✓] Default configuration files/folders copied successfully."