Update external-oibaf.sh
This commit is contained in:
parent
ec60f74b40
commit
070d9e704e
@ -18,17 +18,14 @@ rm -rf /etc/apt/sources.list.d/pika*
|
|||||||
rm -rf /etc/apt/preferences.d/*pika*
|
rm -rf /etc/apt/preferences.d/*pika*
|
||||||
|
|
||||||
# Get Extranal Oibaf PPA pool
|
# 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' ' ')
|
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" ]
|
if [ ! -z "$PPP32" ]
|
||||||
then
|
then
|
||||||
dpkg --add-architecture i386
|
dpkg --add-architecture i386
|
||||||
apt update -o APT::Architecture="i386" -o APT::Architectures="i386" -y --allow-unauthenticated
|
apt update -o APT::Architecture="i386" -o APT::Architectures="i386" -y --allow-unauthenticated
|
||||||
for i in $(echo $PPP32)
|
apt download $PPP_32 -o APT::Architecture="i386" -o APT::Architectures="i386" -y --target-release 'o=LP-PPA-oibaf-graphics-drivers'
|
||||||
do
|
|
||||||
apt download $i -o APT::Architecture="i386" -o APT::Architectures="i386" -y --target-release 'o=LP-PPA-oibaf-graphics-drivers' || true
|
|
||||||
done
|
|
||||||
rm -rfv ./*all.deb
|
rm -rfv ./*all.deb
|
||||||
else
|
else
|
||||||
echo "i386 Repos are synced"
|
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
|
reprepro -C external -V --basedir ./output/repo/ includedeb lunar ./output/*.deb
|
||||||
|
|
||||||
# Push the updated ppa repo to the server
|
# Push the updated ppa repo to the server
|
||||||
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/
|
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/
|
||||||
|
Loading…
Reference in New Issue
Block a user