hi people, i am making some crontab script to try automatize some updates. I wish to check at some intervals if there is some updates for the packages i have installed, so i try path$>for a in 'rpm -qa' do path$>echo "Getting package $a...please wait." path$>wget ftp://ftp.planetmirror.com/pub/mandrake/updates/8.0/RPMS/$a for initial testing, but found some little problems. firist, the rpm -qa output is the complete name of package, eg vim-0.6-2.3-mdk.etc.rpm and not only the name "vim" as i need. I also try using the %{NAME} flag but with worse results. note: as seen above wget will try the exact file name and never would find some updates. The idea is to make wget search for some thing like $a* ( example: vim* ). does somebody knows the way i could use rpm to output only the package names?? tia, Clovis. ------------------------------------------------- Clovis Sena Itautec.Com Servicos Suporte Tecnico Software/Hardware --------------- Email: [EMAIL PROTECTED] Fone : 0xx81-3421-1126 Fax : 0xx81-3421-4988 -------------------------------------------------
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
