malfs mekanizma guncelleme

This commit is contained in:
shamil 2016-03-09 03:00:46 +02:00
parent 8b1d3f3698
commit 1d97a4038c
1 changed files with 1 additions and 5 deletions

View File

@ -496,9 +496,8 @@ ayarlar "$@"
if [ "$ikaynak" = "ag" ]; then if [ "$ikaynak" = "ag" ]; then
ryaz 33 "agdan cekiliyor:" "$2" echo "agdan cekiliyor:" "$2"
#pkt=`cat "$paketdepo""paket.vt" | grep -w "$2" | cut -d' ' -f2` #pkt=`cat "$paketdepo""paket.vt" | grep -w "$2" | cut -d' ' -f2`
paketvt_kontrol
pkt=`cat "$paketdepo""paket.vt" | grep "$2"# | cut -d' ' -f2` pkt=`cat "$paketdepo""paket.vt" | grep "$2"# | cut -d' ' -f2`
if [ ! -z "$pkt" -a "$pkt" != "" ]; then if [ ! -z "$pkt" -a "$pkt" != "" ]; then
cpaket="${pkt/'#'/'%23'}" cpaket="${pkt/'#'/'%23'}"
@ -517,10 +516,7 @@ if [ "$ikaynak" = "ag" ]; then
rya 31 "paket zaten kurulu!" rya 31 "paket zaten kurulu!"
fi fi
fi fi
fi fi
else
ryaz 31 "paket agda bulunamadı!"
fi fi
exit 1 exit 1