Update oneapi.sh

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-10-29 17:20:48 +03:00 committed by GitHub
parent cdb13b1e3f
commit e8c2f97e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,15 +15,14 @@ rm -rfv ./libdrm*.deb
rm -rfv ./*va*.deb
rm -rfv ./intel-gsc*.deb
rm -rfv ./libmetee*.deb
wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy unified" | tee /etc/apt/sources.list.d/intel-gpu-jammy.list
apt update
apt download -y intel-gsc intel-gsc-dev libmetee-dev libmetee
if [ $(ls ./ | wc -l) -lt 1 ]; then
echo "Mantic repos are synced"
exit 0
fi
wget -qO - https://repositories.intel.com/gpu/intel-graphics.key | gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy unified" | tee /etc/apt/sources.list.d/intel-gpu-jammy.list
apt update
apt download -y intel-gsc intel-gsc-dev libmetee-dev libmetee
for i in ./*.deb
do