LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to install software package using shell script +property file..... (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-software-package-using-shell-script-property-file-874890/)

badmas 04-13-2011 09:50 PM

how to install software package using shell script +property file.....
 
I have a tar.gz file which I extracted and then installed the software it contained using a property file. now, I need to automate that 2 step process into one. I am new to shell scripting and will be much appreciated if someone can guide me on how to accomplish that. below is my final opjective on this excercise.

1. excecute software_install.sh file which finds install.properties file and invokes the actual shell script that installs the product (odcpkg.sh)

thanks for your time

EricTRA 04-14-2011 02:01 AM

Hello and Welcome to LinuxQuestions,

This sounds like homework to me and we are not eager to do it for you. As pointed out in the LQ Rules:
Quote:

Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
On the other hand, if it's not homework then you should put in the work yourself, start reading and searching (with Google for example) and learn. Then, if you encounter problems or have questions about something in particular, that's when you turn to LQ. It basically comes down to:

Show us what you've got! Tell us where it fails or where you have questions. That's when you'll find LQ users at their best.

Kind regards,

Eric

badmas 04-15-2011 09:31 PM

Hi Eric,
It is not a homework or work related and I just learned enough to get me started (variable substitutions). I'll post the script if I ran into issues that I can't solve on my own. thanks

grail 04-16-2011 03:12 AM

I think what Eric trying to say (not the homework part) is that the idea here is for you to attempt the problem and then let us know where you run into issues so we can help :)

Looking at what you have said, it appears you already have all that you need to solve this issue. Maybe you would advise us as to where you are stuck?


All times are GMT -5. The time now is 07:05 AM.