Update main.sh

This commit is contained in:
ferrreo 2023-06-16 19:31:51 +01:00 committed by GitHub
parent c48bca4e75
commit 80ecfb8a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,11 @@
DEBIAN_FRONTEND=noninteractive
# Add dependent repositories
wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add -
add-apt-repository https://ppa.pika-os.com
add-apt-repository ppa:pikaos/pika
add-apt-repository ppa:kubuntu-ppa/backports
# Clone Upstream
git clone https://github.com/elFarto/nvidia-vaapi-driver -b master
cp -rvf ./debian ./nvidia-vaapi-driver/
cd ./nvidia-vaapi-driver
# Get build deps
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
apt-get build-dep ./ -y
# Build package