From e8c2f97e2d1868dde34e8fda00f6fc465279248f Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Sun, 29 Oct 2023 17:20:48 +0300 Subject: [PATCH] Update oneapi.sh --- oneapi.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/oneapi.sh b/oneapi.sh index efba6d8..dd5658d 100644 --- a/oneapi.sh +++ b/oneapi.sh @@ -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