generic %if conditional in rpm

Jos Vos jos at xos.nl
Tue Nov 10 20:32:56 UTC 2009


Sorry, the statement in my previous mail should of course be:

%if %(test -e filename && echo 1 || echo 0)

(I exchanged the 0 and 1)

-- 
--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


More information about the Rpm-list mailing list