From e2906ed9178ef0b7b7877b78842e74d5ae334f1b Mon Sep 17 00:00:00 2001 From: milisbir Date: Sat, 12 Aug 2017 04:32:14 +0300 Subject: [PATCH] mps --- bin/mps | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/mps b/bin/mps index 94c460fbe..561875fb1 100755 --- a/bin/mps +++ b/bin/mps @@ -1724,7 +1724,8 @@ agdan_kur(){ kkont=`kurulu_kontrol "$1"` if [ "$kkont" = "degil" ] || [ "$tekrarkur" = "evet" ];then paket_indir "$1" - if [ -f "$paketdepo$1#"* ];then + echo $1 + if [ -f $(ls -1t "$paketdepo$1#"* | head -1) ];then if [ "$kurulum_onay" = "evet" ];then if [ "$tekrarkur" = "evet" ];then paket_sil "$1" "evet"