Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm currently struggling with enhancing a package which uses config-package-dev to install a bunch of configurations for PostgreSQL. Those work fine but now I'd also like to include a /etc/sysctl/30-postgresql.conf file which doesn't need to divert anything else. Adding this to my debian/rules has no effect:

    dh_install debian/sysctl.conf /etc/sysctl.d/30-postgresql.conf

Do the normal dh_ tools not mix with the concept of a config package? Should I just treat it as another "divert" file and be done with it?

share|improve this question
up vote 0 down vote accepted

Doh - I was over thinking the problem. I just needed to edit the debian/package.install file to include the new file:

debian/pg_hba.conf.cbnl etc/postgresql/8.4/main
debian/postgresql.conf.cbnl etc/postgresql/8.4/main
debian/30-postgresql.conf /etc/sysctl.d

The last file doesn't require any divert magic.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .