configure: comment if existing config was found

This commit is contained in:
Daniel unbrot Pätzold
2026-05-05 21:33:25 +02:00
parent 0dadf36230
commit 9fed049222
+1
View File
@@ -9,6 +9,7 @@ CONF_FILE="${SCRIPTDIR}/../config.d/configure.conf"
CONF_EXISTING="${SCRIPTDIR}/../config/setup_system.conf" CONF_EXISTING="${SCRIPTDIR}/../config/setup_system.conf"
if [[ -f "$CONF_EXISTING" ]]; then if [[ -f "$CONF_EXISTING" ]]; then
echo "Found existing config in $CONF_EXISTING . Will try to use it."
CONF_DIST="$CONF_EXISTING" CONF_DIST="$CONF_EXISTING"
else else
CONF_DIST="${SCRIPTDIR}/config.dist/setup_system.conf.dist" CONF_DIST="${SCRIPTDIR}/config.dist/setup_system.conf.dist"