From: Jonathan McDowell <noodles@earth.li>
Date: Sun, 29 Sep 2013 20:30:06 +0000 (+0100)
Subject: Only seed initial Debian package database if key file is available.
X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/f0a63a7442a69bd08130efcb03d5e4b18110b859?hp=f0a63a7442a69bd08130efcb03d5e4b18110b859

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.
---