From 90e0c75616a59a5e308d89332a747ddf5a9e7c42 Mon Sep 17 00:00:00 2001 From: Tereneckla Date: Wed, 15 Oct 2025 19:45:49 +0000 Subject: [PATCH] fix(Bash): installer also copies module configs (#23231) --- apps/compiler/includes/functions.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/compiler/includes/functions.sh b/apps/compiler/includes/functions.sh index a6caef9f3..991178d8e 100644 --- a/apps/compiler/includes/functions.sh +++ b/apps/compiler/includes/functions.sh @@ -166,6 +166,11 @@ function comp_compile() { cp -v --no-clobber "$confDir/authserver.conf.dist" "$confDir/authserver.conf" [[ -f "$confDir/dbimport.conf.dist" ]] && \ cp -v --no-clobber "$confDir/dbimport.conf.dist" "$confDir/dbimport.conf" + for f in "$confDir/modules/"*.dist + do + [[ -e $f ]] || break # handle the case of no *.dist files + cp -v --no-clobber "$f" "${f%.dist}"; + done echo "Done" ;;