packages() { 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}" }