anazitisi arxeiwn se mi egkatestimena rpm...

Παπαδογιαννάκης Βαγγέλης papas at hellug.gr
Fri Nov 19 00:56:39 EET 1999


Galanakis Dimitris <digalan at the.forthnet.gr> wrote in linux.greek.users:

>Prospathw na egkatastisw ena programma (to xephem, apo ta redhat
>powertools) alla paraponietai kai zita mia bibliothiki (libwraster.so.1
>i kati tetoio). Ypouetw oti ayti i bibliothiki tha yparxei se kapoio apo
>ta rpm tou CD ths redhat, alla den xerw se poio. Kata synepeia thelw na
>rwtisw an yparxei enas tropos na psaxw ena sygkekrimeno arxeio pou na
>brisketai se kapoio apo ta rpm pou briskontai se enan katalago... Einai
>ayto dynato?
>
dokimase to eksis script
---cut here---
if [ $# -ne 1 ]; then
  echo Vale kai to onoma pou psaxneis nte!
  exit 1
fi
for I in `ls *.rpm`; do if (rpm -qpl $I | grep $1 > /dev/null) then
 echo NATO... Einai sto paketo $I
 exit 0
fi ;
done
echo Den to vrika pou8ena!
---cut here---

elpizo na ksereis na ftiaxneis scripts!
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list