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 ./*va*.deb
|
||||||
rm -rfv ./intel-gsc*.deb
|
rm -rfv ./intel-gsc*.deb
|
||||||
rm -rfv ./libmetee*.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
|
if [ $(ls ./ | wc -l) -lt 1 ]; then
|
||||||
echo "Mantic repos are synced"
|
echo "Mantic repos are synced"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
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
|
for i in ./*.deb
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user