CMake: Post install scripts for debian

I am using cmake during my job to create Debian installation packages for different kind of software projects. Today I run into an issue. I needed to run some post installation steps. I know that this is quite easy possible within a deb file, but how to archive the same with cmake? It turned out to be quite easy: View the code on [Gist](https://gist.github.com/austriancoder/1c3ba1d383fefbf8dd7fe773cebd882d).Where postinst is the script which gets executed after the deb got installed....

January 23, 2014 · 1 min · Christian Gmeiner

Recreate ssh host keys in Debian

Sometimes it is needed to recreate the used ssh host keys and this can be done quite easy on a Debian based system. View the code on [Gist](https://gist.github.com/austriancoder/65c4f0141bdea7f565c1aed21404fd19).

August 22, 2013 · 1 min · Christian Gmeiner