mps-guncelleme

This commit is contained in:
milisarge 2017-04-06 02:18:47 +03:00
parent c68c76fa7c
commit c964801ba3
1 changed files with 9 additions and 1 deletions

10
bin/mps
View File

@ -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