fix: mirror selections were not applied

This commit is contained in:
oddlama 2022-06-28 17:29:38 +02:00
parent b8134d4a50
commit 2d5b04dcc7
No known key found for this signature in database
GPG Key ID: 14EFE510775FE39A
2 changed files with 3 additions and 0 deletions

2
configure vendored
View File

@ -1330,6 +1330,7 @@ function PORTAGE_GIT_MIRROR_menu() {
--title "Select portage git mirror" \ --title "Select portage git mirror" \
--inputbox "Enter the portage git mirror that should be used to sync the portage tree." \ --inputbox "Enter the portage git mirror that should be used to sync the portage tree." \
"${INPUTBOX_SIZE[@]}" "$PORTAGE_GIT_MIRROR" "${INPUTBOX_SIZE[@]}" "$PORTAGE_GIT_MIRROR"
PORTAGE_GIT_MIRROR=($dialog_out)
UNSAVED_CHANGES=true UNSAVED_CHANGES=true
} }
@ -1342,6 +1343,7 @@ function GENTOO_MIRROR_menu() {
--title "Select gentoo mirror" \ --title "Select gentoo mirror" \
--inputbox "Enter the initial gentoo mirror that should be used for the installation process (until mirrorselect is run)." \ --inputbox "Enter the initial gentoo mirror that should be used for the installation process (until mirrorselect is run)." \
"${INPUTBOX_SIZE[@]}" "$GENTOO_MIRROR" "${INPUTBOX_SIZE[@]}" "$GENTOO_MIRROR"
GENTOO_MIRROR=($dialog_out)
UNSAVED_CHANGES=true UNSAVED_CHANGES=true
} }

View File

@ -105,6 +105,7 @@ if [[ -z "$ACTION" ]]; then
ACTION="install" ACTION="install"
else else
# Default if configuration does not exists: Run configurator, and exit afterwards. # Default if configuration does not exists: Run configurator, and exit afterwards.
echo "You have not created a gentoo.conf. Starting configurator instead of installing."
exec "$GENTOO_INSTALL_REPO_DIR/configure" "$CONFIG" exec "$GENTOO_INSTALL_REPO_DIR/configure" "$CONFIG"
fi fi
fi fi