mps
This commit is contained in:
parent
99b931ab84
commit
0a93c88fc4
2
bin/mps
2
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"
|
||||
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"
|
||||
|
|
Loading…
Reference in New Issue