nfd: 0.4.0 release
This commit includes a new daemon package (ndn-autoconfig-client).
Also fixes #5, #6, #7, #8, #13
Change-Id: Ib51f12ea1d2bd78cd7f30a7c0018353bdf37e466
diff --git a/nfd/debian/nfd.postinst b/nfd/debian/nfd.postinst
index 23e3794..84463aa 100644
--- a/nfd/debian/nfd.postinst
+++ b/nfd/debian/nfd.postinst
@@ -12,7 +12,7 @@
(
export HOME="/var/lib/ndn/nfd"
- if [ -z "$(ndnsec-get-default)" ]; then
+ if [ -z "$(ndnsec-get-default 2>/dev/null)" ]; then
ndnsec-keygen "/localhost/daemons/nfd" | ndnsec-install-cert -
fi