This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-27 20:18:56 +03:00 committed by GitHub
parent a7d39db881
commit 89a1ffc100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ do
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
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-external-i386
if [[ $(cat $i-pika-i386) == $(cat $i-external-i386) ]]
if [[ $(cat $i-pika-i386) != $(cat $i-external-i386) ]]
then
echo $i >> ppp32.list
fi
@ -53,7 +53,7 @@ do
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
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-external-amd64
if [[ $(cat $i-pika-amd64) == $(cat $i-external-amd64) ]]
if [[ $(cat $i-pika-amd64) != $(cat $i-external-amd64) ]]
then
echo $i >> ppp64.list
fi