mps-gitgun
This commit is contained in:
parent
4ac5619d18
commit
1b63640e47
1 changed files with 3 additions and 4 deletions
7
bin/mps
7
bin/mps
|
@ -2063,6 +2063,7 @@ else
|
||||||
# Url: paketin ilgili web sayfası
|
# Url: paketin ilgili web sayfası
|
||||||
# Paketçi: paketçi
|
# Paketçi: paketçi
|
||||||
# Gerekler:
|
# Gerekler:
|
||||||
|
# Grup:
|
||||||
|
|
||||||
isim=$isim
|
isim=$isim
|
||||||
surum=1
|
surum=1
|
||||||
|
@ -2520,12 +2521,10 @@ paketvt_guncelle(){
|
||||||
pktvt="paket${_sira}.vt"
|
pktvt="paket${_sira}.vt"
|
||||||
fi
|
fi
|
||||||
# sunucu bakım kontrolü
|
# sunucu bakım kontrolü
|
||||||
wget --no-check-certificate -q --spider "$pktsunucu""paket.vt.yeni"
|
[ $(sunucu_erisim "$pktsunucu""paket.vt.yeni") = "aktif" ] && _bakim="var"
|
||||||
[ $? -eq 0 ] && _bakim="var"
|
|
||||||
|
|
||||||
if [ $_bakim = "yok" ];then
|
if [ $_bakim = "yok" ];then
|
||||||
wget --no-check-certificate -q --spider "$pktsunucu""paket.vt"
|
if [ $(sunucu_erisim "$pktsunucu""paket.vt") = "aktif" ]; then
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
ryaz 32 $pktsunucu
|
ryaz 32 $pktsunucu
|
||||||
ryaz 32 "$_paketvt_guncelleniyor" "$paketdepo""$pktvt"
|
ryaz 32 "$_paketvt_guncelleniyor" "$paketdepo""$pktvt"
|
||||||
if [ -f "$paketdepo""$pktvt" ];then
|
if [ -f "$paketdepo""$pktvt" ];then
|
||||||
|
|
Loading…
Add table
Reference in a new issue