This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-25 23:20:59 +03:00 committed by GitHub
parent 0fbddbfe75
commit 26f8d5df2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,13 +22,13 @@ echo 'deb [trusted=yes] https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu
apt update -y --allow-unauthenticated apt update -y --allow-unauthenticated
PPP=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/lunar/main/binary-amd64/Packages.xz) PPP=$(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/lunar/main/binary-amd64/Packages.xz)
touch /etc/apt/preferences.d/99-external.conf touch /etc/apt/preferences.d/0-external.conf
echo 'Package: *' > /etc/apt/preferences.d/99-external.conf echo 'Package: *' > /etc/apt/preferences.d/0-external.conf
echo 'Pin: release o=LP-PPA-mozillateam' >> /etc/apt/preferences.d/99-external.conf echo 'Pin: release o=LP-PPA-mozillateam' >> /etc/apt/preferences.d/0-external.conf
echo 'Pin-Priority: 501' >> /etc/apt/preferences.d/99-external.conf echo 'Pin-Priority: 2001' >> /etc/apt/preferences.d/0-external.conf
if [ ! -z "$PPP" ] if [ ! -z "$PPP" ]
then then
apt download $PPP -y apt download $PPP -y --target-release 'o=LP-PPA-mozillateam'
else else
echo "Repos are synced" echo "Repos are synced"
exit 0 exit 0