Need to create directories using RPM - Pls let me know
Hi Everyone,
I have created a binary RPM for my project. This RPM is to be installed on Linux machine in specific user defined directories. I have been creating those directories manually everytime before I install the RPM on the target machine. Is there a way to instruct the RPM itself to create directories and then install the modules respectively. I would really appreciate any info on the same. Thank you Dinesh |
http://qa.mandrivalinux.com/twiki/bi.../Main/RpmHowTo
http://www.rpm.org/RPM-HOWTO/ You can run any shell command in your RPM spec file, so as a last resort you can just put the necessary mkdir commands in the spec file, perhaps in the %pre section. |
All times are GMT -5. The time now is 02:14 PM. |