From c964801ba33a5cb59ee2a14c986b0c274174cb50 Mon Sep 17 00:00:00 2001 From: milisarge Date: Thu, 6 Apr 2017 02:18:47 +0300 Subject: [PATCH] mps-guncelleme --- bin/mps | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bin/mps b/bin/mps index 2eea8750d..598984c19 100755 --- a/bin/mps +++ b/bin/mps @@ -1355,7 +1355,15 @@ ayarlar() { hataloglama "paket ismi eksik" exit 1 fi - paket_guncelle "$2";; + local durum + durum=`kurulu_kontrol "$2"` + if [ "$durum" = "kurulu" ]; then + paket_guncelle "$2" + else + ryaz 31 "$2 paket kurulu degil!" + hataloglama "paket kurulu degil!" + exit 1 + fi;; #bagimliliklariyla beraber paket guncelleme-package updating with depencies -go|--pkgo) if [ ! "$2" ]; then