Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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:

install::
    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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.