nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   Combining an archive and script file (http://www.nvnews.net/vbulletin/showthread.php?t=156655)

Jeff91 10-30-10 12:05 PM

Combining an archive and script file
 
So what I am looking to do is combine an archive and a script file. I would like to have a number of files compressed into an archive package and when a user runs the package instead of having it open with the archive manager, instead have it run a shell script that is also packaged with the files.

The reason I am asking this here is because the nvidia linux binary driver does just this - it is a shell file combined with an archive file (believe). I have been reading over the script part for the last hour or so and I am starting to see how it works on the extracting end (could still use some clarification on it) and by big question is how to you merge an archive and shell file together, but still have the shell file be run when the file is executed?

Regards,
~Jeff Hoogland

t3hl33td4rg0n 11-01-10 09:41 PM

Re: Combining an archive and script file
 
I believe you're referring to this?

http://megastep.org/makeself/

Jeff91 11-01-10 10:27 PM

Re: Combining an archive and script file
 
Quote:

Originally Posted by t3hl33td4rg0n (Post 2340542)
I believe you're referring to this?

http://megastep.org/makeself/

Exactly!

Thankyou so much

~Jeff


All times are GMT -5. The time now is 06:21 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.