mps
This commit is contained in:
parent
b85284d24b
commit
d3c16e55bc
1 changed files with 2 additions and 2 deletions
4
bin/mps
4
bin/mps
|
@ -1252,7 +1252,7 @@ servisler_kontrol(){
|
||||||
|
|
||||||
paketvt_guncelle(){
|
paketvt_guncelle(){
|
||||||
temel_tarihce_kontrol
|
temel_tarihce_kontrol
|
||||||
wget -q --spider "$sunucu""paket.vt"
|
wget --no-check-certificate -q --spider "$sunucu""paket.vt"
|
||||||
#if wget -P /tmp -q "$sunucu""paket.vt" > /dev/null; then
|
#if wget -P /tmp -q "$sunucu""paket.vt" > /dev/null; then
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
ryaz 32 $sunucu
|
ryaz 32 $sunucu
|
||||||
|
@ -1260,7 +1260,7 @@ paketvt_guncelle(){
|
||||||
if [ -f "$paketdepo""paket.vt" ];then
|
if [ -f "$paketdepo""paket.vt" ];then
|
||||||
mv "$paketdepo""paket.vt" "$paketdepo""paket.vt.eski"
|
mv "$paketdepo""paket.vt" "$paketdepo""paket.vt.eski"
|
||||||
fi
|
fi
|
||||||
wget -q --show-progress -P "$paketdepo" "$sunucu""paket.vt"
|
wget --no-check-certificate -q --show-progress -P "$paketdepo" "$sunucu""paket.vt"
|
||||||
#rm /tmp/paket.vt*
|
#rm /tmp/paket.vt*
|
||||||
mps -kudo
|
mps -kudo
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue