mps-yerelden-oto.eklendi

This commit is contained in:
milisman 2016-10-07 23:48:11 +03:00
parent 0d06bf549d
commit cf3f4e7651
1 changed files with 12 additions and 0 deletions

12
bin/mps
View File

@ -288,6 +288,16 @@ paket_kur_liste(){
done done
} }
paket_kur_bagimli(){
local kpkt pkt pak
for kpkt in `cat $1`;do
for pkt in `ls $kpkt* | cut -d'#' -f1`;do
pak=`ls "$pkt#"*`
mps -kur "$pkt" && mps -k "$pak"
done
done
}
paket_kur_liste_zorla(){ paket_kur_liste_zorla(){
local kpkt pkt pak local kpkt pkt pak
for kpkt in `cat $1`;do for kpkt in `cat $1`;do
@ -890,6 +900,8 @@ ayarlar() {
paket_kur_liste "$2" ;; paket_kur_liste "$2" ;;
-oklz) -oklz)
paket_kur_liste_zorla "$2" ;; paket_kur_liste_zorla "$2" ;;
-pyok)
paket_kur_bagimli "$2" ;;
-ko|--pkko) -ko|--pkko)
paket_kur_oto2 "$2" ;; paket_kur_oto2 "$2" ;;
-kuruld) -kuruld)