Update external-winehq.sh

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

View File

@ -29,7 +29,7 @@ for i in $(echo $PKG_I386)
do do
touch /etc/apt/preferences.d/0-external-sync.conf touch /etc/apt/preferences.d/0-external-sync.conf
echo 'Package': * > /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 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-i386 apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-pika-i386
rm -rf /etc/apt/preferences.d/0-external-sync.conf rm -rf /etc/apt/preferences.d/0-external-sync.conf