GPU: Revert unique filter

This commit is contained in:
Dylan Araps 2017-04-27 09:09:36 +10:00
parent c48f201a9d
commit efd48587c3

View file

@ -1071,7 +1071,7 @@ get_gpu() {
"Linux")
# Read GPUs into array.
IFS=$'\n'
gpus=($(lspci -mm | awk -F '\\"|\\" \\"|\(' '/"Display|"3D|"VGA/ {print $3 " " $4}' | sort -u))
gpus=($(lspci -mm | awk -F '\\"|\\" \\"' '/"Display|"3D|"VGA/ {print $3 " " $4}'))
IFS="$old_ifs"
# Number the GPUs if more than one exists.