Only seed database for Debian install if we're using default config
authorJonathan McDowell <noodles@earth.li>
Tue, 15 Mar 2011 14:26:56 +0000 (07:26 -0700)
committerJonathan McDowell <noodles@earth.li>
Tue, 15 Mar 2011 14:26:56 +0000 (07:26 -0700)
commita534b3b856a1e3cbfe60bc0bca432e802f9718be
tree7626e9351102ce69cdb9068f61a9b0f5da70e365
parent372969965f0e4938318057cc2655df90bb760072
Only seed database for Debian install if we're using default config

  If the user changes the config away from DB4 or the default DB
  directory and deletes the old directory we'll think they don't
  have an initialised key database and try to seed it with my key.
  Check the config file and if it doesn't match what we expect
  assume the user has configured appropriately and don't seed the DB.
debian/postinst