Update external-winehq.sh

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-09-28 21:09:40 +03:00 committed by GitHub
parent 51c7d68720
commit 01c1d743c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ for i in $(echo $PKG_AMD64)
do
touch /etc/apt/preferences.d/0-external-sync.conf
echo 'Package': * > /etc/apt/preferences.d/0-external-sync.conf
echo 'Pin: release o=ppa.pika-os.com' >> /etc/apt/preferences.d/0-external-sync.conf
echo 'Pin: release c=main' >> /etc/apt/preferences.d/0-external-sync.conf
echo 'Pin-Priority: 1000' >> /etc/apt/preferences.d/0-external-sync.conf
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-pika-amd64
rm -rf /etc/apt/preferences.d/0-external-sync.conf