Update postinst file to follow v2 security elements
Change-Id: I17e11e05043ba864052419604096e72a6238ec9c
diff --git a/nfd/debian/nfd-autoreg.postinst b/nfd/debian/nfd-autoreg.postinst
index 3d20fcf..c7835fb 100644
--- a/nfd/debian/nfd-autoreg.postinst
+++ b/nfd/debian/nfd-autoreg.postinst
@@ -6,7 +6,7 @@
APP=nfd-autoreg
-if [ ! -f /var/lib/ndn/$APP/.ndn/ndnsec-public-info.db ]; then
+if [ ! -f /var/lib/ndn/$APP/.ndn/pib.db ]; then
# Create HOME and generate self-signed NDN certificate
sudo mkdir -p /var/lib/ndn/$APP/.ndn
sudo chown -R ndn:ndn /var/lib/ndn/$APP