LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2009, 12:39 PM   #1
ashish123
LQ Newbie
 
Registered: Oct 2004
Location: Mumbai
Posts: 1

Rep: Reputation: 0
Smile 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?
 
Old 01-10-2009, 12:46 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Execute a command , reboot and then execute another command ganeshp@moris.org Linux - Newbie 3 12-03-2008 01:51 AM
execute php file on command prompt robberttheman Linux - Newbie 0 09-23-2004 02:24 PM
execute shell command inside of tcl file khucinx Programming 1 07-05-2004 02:29 PM
RPM Spec file creation: %file section question davidas Linux - Newbie 0 03-16-2004 11:36 PM
Read contents of file and execute command cosiek Programming 3 09-30-2003 12:07 PM


All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration