Update external-winehq.sh
This commit is contained in:
parent
44177dca32
commit
02e35f91af
@ -31,7 +31,12 @@ do
|
|||||||
echo 'Package': * > /etc/apt/preferences.d/0-external-sync.conf
|
echo 'Package': * > /etc/apt/preferences.d/0-external-sync.conf
|
||||||
echo 'Pin: release c=main' >> /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
|
if apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-pika-i386
|
||||||
|
then
|
||||||
|
true
|
||||||
|
else
|
||||||
|
echo $i >> ppp32.list
|
||||||
|
fi
|
||||||
rm -rf /etc/apt/preferences.d/0-external-sync.conf
|
rm -rf /etc/apt/preferences.d/0-external-sync.conf
|
||||||
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-external-i386
|
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-external-i386
|
||||||
if cat $i-pika-i386 | grep "^"$(cat $i-external-i386)"$"
|
if cat $i-pika-i386 | grep "^"$(cat $i-external-i386)"$"
|
||||||
@ -52,7 +57,12 @@ do
|
|||||||
echo 'Package': * > /etc/apt/preferences.d/0-external-sync.conf
|
echo 'Package': * > /etc/apt/preferences.d/0-external-sync.conf
|
||||||
echo 'Pin: release c=main' >> /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-amd64
|
if apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-pika-amd64
|
||||||
|
then
|
||||||
|
true
|
||||||
|
else
|
||||||
|
echo $i >> ppp64.list
|
||||||
|
fi
|
||||||
rm -rf /etc/apt/preferences.d/0-external-sync.conf
|
rm -rf /etc/apt/preferences.d/0-external-sync.conf
|
||||||
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-external-amd64
|
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-external-amd64
|
||||||
if cat $i-pika-amd64 | grep "^"$(cat $i-external-amd64)"$"
|
if cat $i-pika-amd64 | grep "^"$(cat $i-external-amd64)"$"
|
||||||
|
Loading…
Reference in New Issue
Block a user