LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to execute command from spec file (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-execute-command-from-spec-file-696337/)

ashish123 01-10-2009 11:39 AM

How to execute command from spec file
 
I am installing one application installation setup in SUSE 10.2 which can get successful if I execute from command line, but get failed if I execute the same command from post section of spec file.

As I know if there are pre and post section in spec file then while installing rpm, it generates the pre and post scripts in /var/tmp folder for execution. Installation gets passed if I execute the script manually but failed from post section of the spec file.

Can you suggest why this is happening?

unSpawn 01-10-2009 11:46 AM

Post the details please and be verbose: commands, scripts, spec file, errors.


All times are GMT -5. The time now is 08:26 AM.