fix: mirror selections were not applied
This commit is contained in:
parent
b8134d4a50
commit
2d5b04dcc7
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
1
install
1
install
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue