The script attempted to perform driver selection by echoing the
`$gpu_info` variable, but the variable had not yet been populated
with the output from the `lspci` command.
This resulted in the `if` condition always failing and the driver package
incorrectly defaulting to `nvidia-dkms` for all hardware.
This commit moves the `gpu_info` assignment to before it is
referenced, ensuring the detection and selection logic works as intended.