mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-08 01:10:26 +00:00
install_drivers error_check and clear screen
This commit is contained in:
parent
6294426c33
commit
ab4d47212f
@ -214,10 +214,12 @@ install_drivers_menu() {
|
|||||||
HIGHLIGHT_SUB=$(cat ${ANSWER})
|
HIGHLIGHT_SUB=$(cat ${ANSWER})
|
||||||
|
|
||||||
case $(cat ${ANSWER}) in
|
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" $?
|
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" $?
|
check_for_error "$_InstProp" $?
|
||||||
;;
|
;;
|
||||||
"3") setup_graphics_card
|
"3") setup_graphics_card
|
||||||
|
Loading…
Reference in New Issue
Block a user