This commit is contained in:
milisbir 2018-10-25 16:25:37 +03:00
parent 2c3803699d
commit 60739a4f77
1 changed files with 6 additions and 1 deletions

View File

@ -1679,6 +1679,11 @@ _devir_kontrol_durum(){
local _konum pk_sil _paket
_paket="$1"
local kdevir devir pkt dusuk yuksek durum gun_onay
_kurulu=$(kurulu_kontrol "$_paket")
if [ ${_kurulu} != "kurulu" ];then
ryaz 31 "$_paket $_paket_kurulu_degil"
exit 1
fi
durum="belirsiz"
satir=`sed -n '8p' < $VT/$_paket/META`
kdevir=${satir:1:${#satir}-1}
@ -3391,7 +3396,7 @@ ayarlar() {
$_yaz_uyari "paket ismi eksik"
exit 1
fi
devir_kontrol_durum "$2"
_devir_kontrol_durum "$2"
exit 0 ;;
-pak|--paketle)
if [ ! "$2" ]; then