Update rocm.sh

This commit is contained in:
ferrreo 2023-08-24 20:53:12 +01:00 committed by GitHub
parent d8f5c6f3e8
commit 54fb312614
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,9 +22,8 @@ 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
echo $(../../ppp https://ppa.pika-os.com/dists/lunar/rocm/binary-amd64/Packages http://repo.radeon.com/rocm 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) > ppp.out /apt/5.6/dists/jammy/main/binary-amd64/Packages)
PPP=$(cat ppp.out | tr '\n' ' ')
if [ ! -z $PPP ] if [ ! -z $PPP ]
then then