From 370946660114d5791d7b9078d2f7720dd3f1d0b5 Mon Sep 17 00:00:00 2001 From: milisbir Date: Sat, 13 Jan 2018 15:27:05 +0200 Subject: [PATCH] m-dliste --- bin/mps | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/mps b/bin/mps index 9981606b4..903e43b29 100755 --- a/bin/mps +++ b/bin/mps @@ -2890,6 +2890,14 @@ ayarlar() { -kl|liste) ls ${kokdizin}${VT} exit 0 ;; + ### mps dliste . = sistemde kurulu olan ama talimatnamede yer almayan paket listesini verir. + -dkl|dliste) + ls ${kokdizin}${VT} | sort > /tmp/mps_krl_pkt.txt + paket_liste | sort > /tmp/mps_tum_pkt.txt + comm -23 "/tmp/mps_krl_pkt.txt" "/tmp/mps_tum_pkt.txt" + rm -rf /tmp/mps_krl_pkt.txt + rm -rf /tmp/mps_tum_pkt.txt + exit 0 ;; ### mps paketler grup_ismi = paket deposundaki paket listesini verir.(grup_ismi verilmezse tüm paketler) -ptl|paketler) paket_liste "$2" "$3"