FIX: setup script would crash if proceeding when config file exists

Basically all configuration variables are set in the if block governed by
the existence of config.ini. If the file already exists, the script would
quickly run into uninitialized variables and crash. The script will now
refuse to proceed if config.ini exists.
This commit is contained in:
Erik Thuning 2025-03-24 15:28:31 +01:00
parent a399fd11a5
commit 23941176ba

@ -84,7 +84,7 @@ if ! [ -e "$app_base/config.ini" ]; then
echo "NOTE: you will need to manually set the values in the [oauth] section to something meaningful."
echo
else
echo "Config file exists."
die "Config file exists, cannot proceed."
fi
echo