How to package a file into .deb?
- by Fluffy
I'm trying to a make a simple .deb package, which would basically edit a config of another package I listed as a dependency.
I added the required manipulations to the postinstall file.
The problem is I can't find a way to package an example config, which should be copied and edited from the postinstall script.
At the moment I just have a folder with the sample config, of which I'm creating a tar.gz and orig.tar.gz, then dh_make in that folder, edit the generated files and run debuild. However if I open the resulting .deb file with an archive manager, I can see that the sample file was not included at all.