Jump to content

How to make postinst scripts


Go to solution Solved by Guest,

8 posts in this topic

Recommended Posts

Posted

Could someone show me how to make this and where to put it when it's done and how to make the deb (with make or dpkg)

 

I would like to add a little thank you message at the end of the installation of the DEB

 

I know there was a help topic on this but it didn't say how it was 100% made

 

Thank for the help :)

Posted

Could someone show me how to make this and where to put it when it's done and how to make the deb (with make or dpkg)

 

I would like to add a little thank you message at the end of the installation of the DEB

 

I know there was a help topic on this but it didn't say how it was 100% made

 

Thank for the help :)

Check the replies on this topic:

 

http://iosgods.com/topic/11602-bad-interpreter-error-in-terminal/

 

When you type in "make package" in terminal, it generates the new "_" folder. That's the files which will get archived into a deb so you can add yourself a postinst file in the DEBIAN folder and then just "dpkg -b _" to make the deb with the postinst/preinst/postrm/prerm etc inside.

Posted

I can make a tutorial on this once I get some time :)

Do you have a better way? :)

 

I'd like to know about it also. :)

Posted

Do you have a better way? :)

 

I'd like to know about it also. :)

No, I use this way. It was confusing for me when I was trying to figure it out but now its extremely simple.

Posted

No, I use this way. It was confusing for me when I was trying to figure it out but now its extremely simple.

could you make a Tutorial for this?  :idea:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines