This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-24 21:42:22 +03:00 committed by GitHub
parent abcdcaa0e1
commit 98df9dfc01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 9 deletions

View File

@ -21,16 +21,16 @@ rm -rf /etc/apt/preferences.d/*pika*
echo 'deb [arch=amd64 trusted=yes] https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu lunar main' | sudo tee /etc/apt/sources.list.d/external.list echo 'deb [arch=amd64 trusted=yes] https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu lunar main' | sudo tee /etc/apt/sources.list.d/external.list
apt update -y --allow-unauthenticated apt update -y --allow-unauthenticated
echo $(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu/dists/lunar/main/binary-amd64/Packages.xz | tr '\n' ' ') echo $(../../ppp https://ppa.pika-os.com/dists/lunar/external/binary-amd64/Packages https://ppa.launchpadcontent.net/system76-dev/pre-stable/ubuntu/dists/lunar/main/binary-amd64/Packages.xz) > ppp.out
PPP=$(cat ppp.out | tr '\n' ' ')
if [ ! -z $PPP ]
#if [ ! -z $PPP ] then
#then apt download $PPP -y
# apt download $PPP -y else
#else echo "Repos are synced"
# echo "Repos are synced"
exit 0 exit 0
#fi fi
# Return to Extranal System76 PPA MIRROR # Return to Extranal System76 PPA MIRROR
cd ../ cd ../

View File

@ -22,7 +22,9 @@ echo 'deb [arch=amd64 trusted=yes] https://repo.radeon.com/rocm/apt/5.6 jammy ma
wget -O - http://repo.radeon.com/rocm/rocm.gpg.key | apt-key add - wget -O - http://repo.radeon.com/rocm/rocm.gpg.key | apt-key add -
apt update -y apt update -y
export PPP=$(../../ppp https://ppa.pika-os.com/dists/lunar/rocm/binary-amd64/Packages http://repo.radeon.com/rocm/apt/5.6/dists/jammy/main/binary-amd64/Packages | tr '\n' ' ') echo $(../../ppp https://ppa.pika-os.com/dists/lunar/rocm/binary-amd64/Packages http://repo.radeon.com/rocm
/apt/5.6/dists/jammy/main/binary-amd64/Packages) > ppp.out
PPP=$(cat ppp.out | tr '\n' ' ')
if [ ! -z $PPP ] if [ ! -z $PPP ]
then then