diff --git a/system_setup/configure.sh b/system_setup/configure.sh index 800745b..7ca8428 100755 --- a/system_setup/configure.sh +++ b/system_setup/configure.sh @@ -44,13 +44,11 @@ do_configure() { if [ -f "$CONF_FILE" ] || [ -f "$CONF_PRE" ]; then echo "Some alternatives found for configure source:" if [[ -f "$CONF_PRE" ]]; then - echo " Choice (p): Another config run result was found in $CONF_PRE ." + echo " Choice (p): Another config run result was found in $CONF_PRE." echo " Hint: May contain Values that already were setup different for your details" - else - unset CONF_PRE fi if [[ -f "$CONF_FILE" ]]; then - echo " Choice (c): Found companys full config in $CONF_FILE ." + echo " Choice (c): Found companys full config in $CONF_FILE." echo " This may be a full config, that is valid for your company." else unset CONF_FILE @@ -64,12 +62,13 @@ do_configure() { case "${CHOICE}" in "p") if [[ -f "$CONF_PRE" ]]; then - echo "Using the existing config run file." + echo "Using the existing config run file $CONF_PRE" break fi ;; "c") if [[ -f "$CONF_FILE" ]]; then + echo "Replacing $CONF_PRE with $CONF_FILE" rm "$CONF_PRE" >/dev/null 2>&1 cp "$CONF_FILE" "$CONF_PRE" && break fi