This commit is contained in:
parent
89a1ffc100
commit
a1f886c79a
@ -34,7 +34,7 @@ do
|
|||||||
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
|
||||||
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) != $(cat $i-external-i386) ]]
|
if cat $i-pika-i386 | grep "^"$(cat $i-external-i386)"$"
|
||||||
then
|
then
|
||||||
echo $i >> ppp32.list
|
echo $i >> ppp32.list
|
||||||
fi
|
fi
|
||||||
@ -53,7 +53,7 @@ do
|
|||||||
apt-cache show $i | grep 'Version:' | cut -d":" -f2 | head -n1 | sed 's/ //g' > $i-pika-amd64
|
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
|
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) != $(cat $i-external-amd64) ]]
|
if cat $i-pika-amd64 | grep "^"$(cat $i-external-amd64)"$"
|
||||||
then
|
then
|
||||||
echo $i >> ppp64.list
|
echo $i >> ppp64.list
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user