Beta-2.1 - The clearer, the faster #22

Merged
Djeex merged 27 commits from Beta-2.1 into main 2025-09-04 12:50:26 +02:00
24 changed files with 1346 additions and 679 deletions
Showing only changes of commit 5fb6ef18d1 - Show all commits

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."