This commit is contained in:
root 2016-04-21 16:25:08 +03:00
parent fcbbc1ab9c
commit eef7530cfd
2 changed files with 14 additions and 6 deletions

10
bin/mps
View File

@ -206,15 +206,19 @@ paket_kur_oto2(){
}
paket_inkur_liste(){
local kpkt pkt pak
local kpkt
for kpkt in `cat $1`;do
mps -ik "$kpkt"
mps -kur "$kpkt"
done
}
#otomatik kontrollu kur
paket_inkur_oto(){
mps -dly "$1" > /dev/null && paket_inkur_liste bag.liste
mps -dly "$1" > /dev/null &&
local kpkt
for kpkt in `cat bag.liste`;do
mps -ik "$kpkt"
done
rm bag.liste tumbag.liste
}

View File

@ -206,15 +206,19 @@ paket_kur_oto2(){
}
paket_inkur_liste(){
local kpkt pkt pak
local kpkt
for kpkt in `cat $1`;do
mps -ik "$kpkt"
mps -kur "$kpkt"
done
}
#otomatik kontrollu kur
paket_inkur_oto(){
mps -dly "$1" > /dev/null && paket_inkur_liste bag.liste
mps -dly "$1" > /dev/null &&
local kpkt
for kpkt in `cat bag.liste`;do
mps -ik "$kpkt"
done
rm bag.liste tumbag.liste
}