diff --git a/bin/mps b/bin/mps index 3fa2ca19c..36a27af8f 100755 --- a/bin/mps +++ b/bin/mps @@ -446,6 +446,7 @@ paket_bilgi_html(){ _simge_dosya="/static/package.png" echo "dosya: /srv/http/komser/static/simgeler/${_paket}.png" [ -f /srv/http/komser/static/simgeler/${_paket}.png ] && _simge_dosya="/static/simgeler/$_paket.png" + [ $(ls /srv/http/komser/static/simgeler/${_paket}_* | head -n1) ] && _simge_dosya="/static/simgeler/$(ls /srv/http/komser/static/simgeler/${_paket}_* | head -n1 | xargs -I {} basename {})" icerik+="" while IFS='' read -r satir || [[ -n "$line" ]]; do icerik+=""