Update postinst file to follow v2 security elements
Change-Id: I17e11e05043ba864052419604096e72a6238ec9c
diff --git a/repo-ng/Makefile b/repo-ng/Makefile
index ae5503b..0b6ad49 100644
--- a/repo-ng/Makefile
+++ b/repo-ng/Makefile
@@ -11,6 +11,6 @@
VERSION=0.0.12-gd45e62b0
# PPA version
-PPA_VERSION=2
+PPA_VERSION=3
include ../packaging.mk
diff --git a/repo-ng/debian/changelog b/repo-ng/debian/changelog
index 280476b..edada4f 100644
--- a/repo-ng/debian/changelog
+++ b/repo-ng/debian/changelog
@@ -1,3 +1,10 @@
+repo-ng (0.0.12-gd45e62b0-ppa3~DISTRO) DISTRO; urgency=low
+
+ * New version based on d45e62b0fd4170b5527483451cfbe971c19da8c7
+ (https://github.com/named-data/repo-ng)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu> Sat, 03 Feb 2018 19:19:14 +0000
+
repo-ng (0.0.12-gd45e62b0-ppa2~DISTRO) DISTRO; urgency=low
* New version based on d45e62b0fd4170b5527483451cfbe971c19da8c7
diff --git a/repo-ng/debian/repo-ng.postinst b/repo-ng/debian/repo-ng.postinst
index d64684a..b49473c 100644
--- a/repo-ng/debian/repo-ng.postinst
+++ b/repo-ng/debian/repo-ng.postinst
@@ -6,7 +6,7 @@
APP=repo-ng
-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