diff --git a/lib/util-desktop.sh b/lib/util-desktop.sh index f3b8160..391d168 100644 --- a/lib/util-desktop.sh +++ b/lib/util-desktop.sh @@ -30,7 +30,6 @@ setup_graphics_card() { elif [[ $(cat /tmp/.driver) == "video-nouveau" ]]; then sed -i 's/MODULES=""/MODULES="nouveau"/' ${MOUNTPOINT}/etc/mkinitcpio.conf fi - check_for_error "$FUNCNAME $(cat /tmp/.driver)" "$?" else DIALOG " $_ErrTitle " --msgbox "\n\n$_WarnInstGr\n" 0 0 check_for_error "No video-driver selected." diff --git a/lib/util-menu.sh b/lib/util-menu.sh index 9c4a8dd..557d621 100644 --- a/lib/util-menu.sh +++ b/lib/util-menu.sh @@ -212,8 +212,10 @@ install_drivers_menu() { case $(cat ${ANSWER}) in "1") arch_chroot "mhwd -a pci free 0300" + check_for_error "$_InstFree" $? ;; "2") arch_chroot "mhwd -a pci nonfree 0300" + check_for_error "$_InstProp" $? ;; "3") setup_graphics_card ;;