Fix GPU whitespace issue

This commit is contained in:
Dylan Araps 2016-05-12 20:39:00 +10:00
parent 2147ff9c05
commit 3489526637

View file

@ -1327,9 +1327,8 @@ getgpu () {
case "$distro" in
"FreeBSD"*)
gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")
gpu=${gpu/device*= }
gpu=${gpu/*device*= }
gpu=${gpu//\'}
gpu=${gpu// / }
;;
*)