Hi,

I am trying to learn how to write spec files for OpenPKG. I do have the 
impression that your modified rpm-4.x is rather powerful.
I am therefore wondering if the following is possible.

 {l_shtool} install -c -m 700 -e \ 
's;@@@kolab_prefix@@@;%{l_prefix};g;\
 s;@@@fqdn@@@;`hostname --fqdn`;g;' kolab.conf

Basically I would love to have @@@fqdn@@@ in the file kolab.conf replaced with 
the output of the shell command hostname --fqdn.

With the above line though `hostname --fqdn` does not get evaluated during 
installation but is taken literally.

Any ideas?

Regards,
--martin
P.S.: is there documentation available about the install you are using?
--
Dipl.-Phys. Martin Konold
e r f r a k o n
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker
Germanenstrasse 15, 70563 Stuttgart, Germany
email: [EMAIL PROTECTED]

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to