This commit is contained in:
milisman 2016-04-20 22:48:30 +00:00
parent 99b931ab84
commit 0a93c88fc4
1 changed files with 4 additions and 2 deletions

View File

@ -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"
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"