Patching Checkinstall to save options between runs

By jbayer - Last updated: Thursday, April 5, 2012 - Save & Share - Leave a Comment

I had a problem where I was working on an existing, installed package for our systems here. ¬†I needed to have the new RPMs be the same as the old ones, except for the release number being incremented. ¬†Checkinstall, while a great program, doesn’t do anything to save options, so you have to re-enter them every time you run it (or create a script to run it).

The attached patch is applied against checkinstall 1.6.2, and adds an automatic method to save all the options in a file called .checkinstall_opts in the directory of the package you are creating. (1.1 KiB, 144 hits)

Posted in Building packages, Open Source • • Top Of Page

Write a comment