[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
  Show Posts
Pages: [1]
1  Linux in General / Linux Development & Programming / how to cat rpm without reflecting changes in its md5 chksum on: January 24, 2006, 04:27:49 AM
Hi,

i want to write a shell script that will extract rpm from  itself after execution. i did that means in my shell script i have my shell script above and at the end of shell script i have that binary rpm which i want to extract. later but when i extracted that in new file the new file remains rpm but the
md5 checksum is conflicted and i can not install that rpm generated from the script.

BUT i saw one shell script on the net that is
j2sdk-1_3_0-rc1-linux-rpm.sh

this is the same kind of shell script which will extract the rpm after execution but after the shell script there is binary script which extract the rpm from it means where i use to put binary rpm there he must have put some binary script which extract rpm.
I want to get some clue how he had done that???

when i see when u open rpm file that time the md5 checksum will get currupted and u can not install that rpm again so is there any way for me to do this ...

please help me

thanks and Regards,
ganesh
2  Linux in General / Linux Development & Programming / shell script and binary together on: January 20, 2006, 08:08:14 AM
Hi friends,

I am running shell script in which the binary is at the end will execute later
can anyone tell me that how it is possible i saw one shell script like this

that is j2sdk-1_3_0-rc1-linux-rpm.sh
just download and check it how it is done
pure text and binary data is in one file we get an extracted rpm later after executiing the script. if anyone knows plese tell me that.

Thank You
3  Linux in General / Linux Development & Programming / run shell script immediatly u do # rpm -ivh on: January 17, 2006, 04:28:42 AM
Hi friends,

I want that when i install rpm by
# rpm -ivh
One shell script run first and then rpm get installed

Anyone did  that please help me
thanks in advance


Edited by Moderator
Comment : We have combined your two posts at one place as you have asked same question in both.
Pages: [1]
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 05:49:59 AM

Login with username, password and session length
Navigation
Recent Discussions
[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]

[November 13, 2008, 03:28:22 AM]
Members
Total Members: 6226
Latest: Abhi
Stats
Total Posts: 8269
Total Topics: 2253
Online Today: 10
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 7
Total: 7
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc