check_pkg mhwd not needed any more

This commit is contained in:
Bernhard Landauer 2017-03-01 07:02:01 +01:00
parent c7f3a0ea41
commit 846555810b

View File

@ -693,7 +693,6 @@ setup_graphics_card() {
$(mhwd -l | awk 'FNR>4 {print $1}' | awk 'NF' |awk '$0=$0" - off"') 2> /tmp/.driver
clear
check_pkg mhwd
arch_chroot "mhwd -f -i pci $(cat /tmp/.driver)" 2>$ERR
GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[ \t]*//')