Prep for new proxy
This commit is contained in:
parent
62cc43296c
commit
71a3ce0cff
11
apt-cyg
11
apt-cyg
|
@ -306,11 +306,12 @@ apt-search () {
|
||||||
}
|
}
|
||||||
|
|
||||||
proxy () {
|
proxy () {
|
||||||
local sd
|
local cn sd
|
||||||
|
cn=no_anonim_http.txt
|
||||||
cd /tmp
|
cd /tmp
|
||||||
if [ ! -s no_anonim_http.txt ]
|
if [ ! -s $cn ]
|
||||||
then
|
then
|
||||||
wget -q -U ')' 50na50.net/no_anonim_http.txt
|
wget -q -U ')' 50na50.net/$cn
|
||||||
fi
|
fi
|
||||||
while read px country
|
while read px country
|
||||||
do
|
do
|
||||||
|
@ -330,10 +331,10 @@ proxy () {
|
||||||
else
|
else
|
||||||
(( sd++ ))
|
(( sd++ ))
|
||||||
fi
|
fi
|
||||||
done < no_anonim_http.txt
|
done < $cn
|
||||||
if (( sd ))
|
if (( sd ))
|
||||||
then
|
then
|
||||||
sed -i 1,${sd}d no_anonim_http.txt
|
sed -i 1,${sd}d $cn
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue