diff --git a/bin/mps b/bin/mps index 6648abccf..3cf787449 100755 --- a/bin/mps +++ b/bin/mps @@ -738,8 +738,10 @@ if [ "$ikaynak" = "ag" ]; then #if wget -P /tmp -q "$sunucu$cpaket" > /dev/null; then if [ $? -eq 0 ]; then wget -nc -P "$paketdepo" "$sunucu$cpaket" - ekontdeg=`cat "$paketdepo""paket.vt" | grep "^$2 " | cut -d' ' -f2` - mkontdeg=`md5sum $pkt | cut -d' ' -f1` + if [ -f "$paketde""popaket.vt" ];then + ekontdeg=`cat "$paketdepo""paket.vt" | grep "^$2 " | cut -d' ' -f2` + mkontdeg=`md5sum $pkt | cut -d' ' -f1` + fi if [ "$ekontdeg" != "$mkontdeg" ];then rm -f $pkt wget -nc -P "$paketdepo" "$sunucu$cpaket"