X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/a534b3b856a1e3cbfe60bc0bca432e802f9718be..HEAD:/debian/postinst?ds=sidebyside diff --git a/debian/postinst b/debian/postinst index 5b29801..b8fa63f 100644 --- a/debian/postinst +++ b/debian/postinst @@ -13,7 +13,8 @@ if [ "$1" = "configure" ]; then # if grep -q "^db_dir /var/lib/onak" /etc/onak.conf && grep -q "^db_backend db4" /etc/onak.conf && - [ ! -e /var/lib/onak/num_keydb ]; then + [ ! -e /var/lib/onak/num_keydb -a \ + -e /usr/share/doc/onak/noodles.key ]; then zcat /usr/share/doc/onak/noodles.key | onak -b add fi