mps.otokurlisteden
This commit is contained in:
parent
d0132c7d76
commit
d5da5d3e5e
11
bin/mps
11
bin/mps
|
@ -244,14 +244,21 @@ paket_kur_oto(){
|
||||||
}
|
}
|
||||||
|
|
||||||
paket_kur_oto_zorla(){
|
paket_kur_oto_zorla(){
|
||||||
local kpkt pkt pak
|
local kpkt pkt pak kliste
|
||||||
for kpkt in `cat $1`;do
|
if [ "$1" = "-H" ];then
|
||||||
|
ls *.mps.lz > "otokur.list"
|
||||||
|
kliste="otokur.list"
|
||||||
|
else
|
||||||
|
kliste="$1"
|
||||||
|
fi
|
||||||
|
for kpkt in `cat $kliste`;do
|
||||||
for pkt in `ls $kpkt* | cut -d'#' -f1`;do
|
for pkt in `ls $kpkt* | cut -d'#' -f1`;do
|
||||||
pak=`ls "$pkt#"*`
|
pak=`ls "$pkt#"*`
|
||||||
paket_sil "$pkt" "evet"
|
paket_sil "$pkt" "evet"
|
||||||
mps -k "$pak"
|
mps -k "$pak"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
rm -rf otokur.list
|
||||||
}
|
}
|
||||||
|
|
||||||
paket_kur_liste(){
|
paket_kur_liste(){
|
||||||
|
|
Loading…
Reference in New Issue