Update oneapi.sh
This commit is contained in:
parent
cdb13b1e3f
commit
e8c2f97e2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user