mps.eklenti

This commit is contained in:
mahmutov 2016-08-04 06:58:35 +00:00
parent b05cf983fb
commit d0132c7d76
1 changed files with 13 additions and 0 deletions

13
bin/mps
View File

@ -243,6 +243,17 @@ paket_kur_oto(){
done done
} }
paket_kur_oto_zorla(){
local kpkt pkt pak
for kpkt in `cat $1`;do
for pkt in `ls $kpkt* | cut -d'#' -f1`;do
pak=`ls "$pkt#"*`
paket_sil "$pkt" "evet"
mps -k "$pak"
done
done
}
paket_kur_liste(){ paket_kur_liste(){
local kpkt pkt pak local kpkt pkt pak
for kpkt in `cat $1`;do for kpkt in `cat $1`;do
@ -815,6 +826,8 @@ ayarlar() {
paket_derle_kur "$2" ;; paket_derle_kur "$2" ;;
-ok|--pkok) -ok|--pkok)
paket_kur_oto "$2" ;; paket_kur_oto "$2" ;;
-okz)
paket_kur_oto_zorla "$2" ;;
-okl|--pkokl) -okl|--pkokl)
paket_kur_liste "$2" ;; paket_kur_liste "$2" ;;
-ko|--pkko) -ko|--pkko)