diff --git a/bin/mps b/bin/mps index 8209d4965..026670414 100755 --- a/bin/mps +++ b/bin/mps @@ -794,7 +794,9 @@ sistem_guncelle(){ printf "\r%3d.%1d%% %.${pd}s" $(( $count * 100 / $total )) $(( ($count * 1000 / $total) % 10 )) $pstr kpkt=$(ls -rct $VT | tr " " "\n" | sed -n ${count}'p') pk_guncelle="e" - case "${esgec[@]}" in "$kpkt") pk_guncelle="h" ;; esac + if [[ "${esgec[*]}" =~ "${kpkt}" ]];then + pk_guncelle="h" + fi if [ "$pk_guncelle" = "e" ];then paket_guncelle "$kpkt" $GS_CIKTI #printf "."