Update PKGBUILD (#263)

This commit is contained in:
SteavenGamerYT 2024-09-22 03:04:45 +03:00 committed by GitHub
parent 06a8d3e89c
commit 4b35118abd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ if [ -z "$_driver_version" ] || [ "$_driver_version" = "latest" ] || [ -z "$_dri
warning "Please make sure you have the corresponding kernel headers package installed for each kernel on your system !\n"
if [[ -z $CONDITION ]]; then
read -p " Which driver version do you want?`echo $'\n > 1.Vulkan dev: 550.40.71\n 2.560 series: 560.35.03\n 3.555 series: 555.58.02\n 4.550 series: 550.107.02\n 5.470 series: 470.256.02\n 6.Older series\n 7.Custom version (396.xx series or higher)\n choice[1-7?]: '`" CONDITION;
read -p " Which driver version do you want?`echo $'\n > 1.Vulkan dev: 550.40.71\n 2.560 series: 560.35.03\n 3.555 series: 555.58.02\n 4.550 series: 550.120\n 5.470 series: 470.256.02\n 6.Older series\n 7.Custom version (396.xx series or higher)\n choice[1-7?]: '`" CONDITION;
fi
# This will be treated as the latest regular driver.
if [ "$CONDITION" = "2" ]; then
@ -63,8 +63,8 @@ if [ -z "$_driver_version" ] || [ "$_driver_version" = "latest" ] || [ -z "$_dri
echo '_md5sum=f6efa3d40fccc97fbac9b55fc81e30d7' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "4" ]; then
echo '_driver_version=550.107.02' > options
echo '_md5sum=6ff5afd9e02536a14c16d6fea3089903' >> options
echo '_driver_version=550.120' > options
echo '_md5sum=a2a40ba27ea1c375f2f5b84b66c83a33' >> options
echo '_driver_branch=regular' >> options
elif [ "$CONDITION" = "5" ]; then
echo '_driver_version=470.256.02' > options