- not the most brilliantly elegant way - but it works :^P
merge-requests/273/head
Bernhard Landauer 7 years ago
parent 5f5dad26d8
commit 01e4176e67

@ -210,7 +210,7 @@ filter_packages() {
install_base() {
if [[ -e /mnt/.base_installed ]]; then
DIALOG " $_InstBseTitle " --yesno "\n\n$_WarnInstBase\n\n" 0 0 && rm /mnt/.base_installed || return 0
DIALOG " $_InstBseTitle " --yesno "\n$_WarnInstBase\n\n" 0 0 && rm /mnt/.base_installed || return 0
fi
# Prep variables
setup_profiles

@ -198,18 +198,17 @@ install_graphics_menu() {
}
install_drivers_menu() {
local PARENT="$FUNCNAME"
HIGHLIGHT_SUB=1
declare -i loopmenu=1
while ((loopmenu)); do
submenu 5
DIALOG " $_InstDrvTitle " --default-item ${HIGHLIGHT_SUB} --menu "$_InstDrvBody" 0 0 5 \
"1" "$_InstFree" \
"2" "$_InstProp" \
"3" "$_InstGrMenuDD|>" \
"4" "$_InstNWDrv|>" \
"5" "$_Back" 2>${ANSWER}
HIGHLIGHT_SUB=$(cat ${ANSWER})
HIGHLIGHT_SUB=4
case $(cat ${ANSWER}) in
"1") clear
arch_chroot "mhwd -a pci free 0300" 2>$ERR
@ -222,8 +221,10 @@ install_drivers_menu() {
"3") setup_graphics_card
;;
"4") setup_network_drivers
HIGHLIGHT_SUB=5
;;
*) loopmenu=0
*) HIGHLIGHT_SUB=5
loopmenu=0
return 0
;;
esac

Loading…
Cancel
Save