]> git.sommitrealweird.co.uk Git - onak.git/commit
Only seed initial Debian package database if key file is available.
authorJonathan McDowell <noodles@earth.li>
Sun, 29 Sep 2013 20:30:06 +0000 (21:30 +0100)
committerJonathan McDowell <noodles@earth.li>
Sun, 29 Sep 2013 20:30:06 +0000 (21:30 +0100)
commitf0a63a7442a69bd08130efcb03d5e4b18110b859
tree854f2ea58e3e727da98b6bdce962ca63cd7f95f8
parent243c905356e36f9b05b11ad72771f63196250e7a
Only seed initial Debian package database if key file is available.

If the Debian package detected no keyring database on installation it
would seed the database with my key, from
/usr/share/doc/onak/noodles.key.gz. This is against Debian policy 12.3 -
packages cannot require files from /usr/share/doc/ to function. Only
seed the database if the file exists, avoiding issues installing when
skipping /usr/share/doc/

Fixes Debian bug #710665.
debian/changelog
debian/postinst