install_drivers error_check and clear screen

merge-requests/273/head
Bernhard Landauer 8 years ago
parent 6294426c33
commit ab4d47212f

@ -214,10 +214,12 @@ install_drivers_menu() {
HIGHLIGHT_SUB=$(cat ${ANSWER})
case $(cat ${ANSWER}) in
"1") arch_chroot "mhwd -a pci free 0300"
"1") clear
arch_chroot "mhwd -a pci free 0300" 2>$ERR
check_for_error "$_InstFree" $?
;;
"2") arch_chroot "mhwd -a pci nonfree 0300"
"2") clear
arch_chroot "mhwd -a pci nonfree 0300" 2>$ERR
check_for_error "$_InstProp" $?
;;
"3") setup_graphics_card

Loading…
Cancel
Save