-f option for video-driver install (fails if config is present)

This commit is contained in:
Bernhard Landauer 2017-03-01 05:23:32 +01:00
parent a28ecd1dd6
commit c4101a847d

View File

@ -694,7 +694,7 @@ setup_graphics_card() {
clear
check_pkg mhwd
arch_chroot "mhwd -i pci $(cat /tmp/.driver)" 2>$ERR
arch_chroot "mhwd -f -i pci $(cat /tmp/.driver)" 2>$ERR
GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[ \t]*//')