Fix gpu spacing in FreeBSD

This commit is contained in:
Dylan 2016-01-19 13:57:29 +11:00
parent 10c3ff2d3e
commit c2612b8d8c
1 changed files with 2 additions and 1 deletions

3
fetch
View File

@ -662,7 +662,8 @@ getgpu () {
gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device") gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")
gpu=${gpu/device*= /} gpu=${gpu/device*= /}
gpu=${gpu//\'/} gpu=${gpu//\'/}
gpu=${gpu// } gpu=${gpu//[[:space:]]/ }
gpu=${gpu// /}
;; ;;
esac esac
;; ;;