2022-02-07 04:18:16 +01:00
|
|
|
packages() {
|
2022-02-08 23:13:18 +01:00
|
|
|
echo "Choose your model"
|
|
|
|
multiplechoice "400" "500" "600" "700" "800" "nouveau"
|
|
|
|
if [ "${output}" == "400" ] || [ "${output}" == "500" ]; then
|
|
|
|
n="nvidia390"
|
|
|
|
elif [ "${output}" == "400" ] || [ "${output}" == "500" ]; then
|
|
|
|
n="nvidia470"
|
|
|
|
elif [ "${output}" == "400" ]; then
|
|
|
|
n="nvidia"
|
|
|
|
elif [ "${output}" == "nouveau" ]; then
|
|
|
|
n="${output}""
|
|
|
|
fi
|
|
|
|
|
|
|
|
addpkg "${n}"
|
2022-02-07 04:18:16 +01:00
|
|
|
}
|