From 070d9e704ed6001d15c0e88d119bb7f088bb8dd7 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Fri, 1 Sep 2023 22:47:48 +0300 Subject: [PATCH] Update external-oibaf.sh --- external-oibaf.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/external-oibaf.sh b/external-oibaf.sh index 927d367..9a5cab6 100644 --- a/external-oibaf.sh +++ b/external-oibaf.sh @@ -18,17 +18,14 @@ rm -rf /etc/apt/sources.list.d/pika* rm -rf /etc/apt/preferences.d/*pika* # Get Extranal Oibaf PPA pool -echo 'deb [arch=amd64 trusted=yes] https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu lunar main' | sudo tee /etc/apt/sources.list.d/external.list +echo 'deb [trusted=yes] https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu lunar main' | sudo tee /etc/apt/sources.list.d/external.list PPP32=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-i386/Packages https://ppa.launchpadcontent.net/oibaf/graphics-drivers/ubuntu/dists/lunar/main/binary-i386/Packages.xz | tr ' ' '\n' | grep -E 'meson|16|15|spirv|directx-headers|libdrm' | tr '\n' ' ') if [ ! -z "$PPP32" ] then dpkg --add-architecture i386 apt update -o APT::Architecture="i386" -o APT::Architectures="i386" -y --allow-unauthenticated - for i in $(echo $PPP32) - do - apt download $i -o APT::Architecture="i386" -o APT::Architectures="i386" -y --target-release 'o=LP-PPA-oibaf-graphics-drivers' || true - done + apt download $PPP_32 -o APT::Architecture="i386" -o APT::Architectures="i386" -y --target-release 'o=LP-PPA-oibaf-graphics-drivers' rm -rfv ./*all.deb else echo "i386 Repos are synced" @@ -71,4 +68,4 @@ apt install -y ./reprepro_5.3.0-1.4_amd64.deb reprepro -C external -V --basedir ./output/repo/ includedeb lunar ./output/*.deb # Push the updated ppa repo to the server -rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ \ No newline at end of file +rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/