]> the.earth.li Git - onak.git/blobdiff - debian/postinst
Fix issue with pre-seeding key database on Debian install
[onak.git] / debian / postinst
index b8fa63f5ec80dc5bffb5675ad548614db8e05d75..c954775252a475f06c4914ca6583161b68330385 100644 (file)
@@ -14,7 +14,7 @@ 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 -a \
-                -e /usr/share/doc/onak/noodles.key ]; then
+                -e /usr/share/doc/onak/noodles.key.gz ]; then
         zcat /usr/share/doc/onak/noodles.key | onak -b add
     fi