This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-27 20:27:39 +03:00 committed by GitHub
parent 89a1ffc100
commit a1f886c79a
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 | grep "^"$(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 | grep "^"$(cat $i-external-amd64)"$"
then
echo $i >> ppp64.list
fi