ndnmapDataCollector: first add of ndnmapDataCollector daemon configuration for PPA

Change-Id: I60d5d37d3fab88a8a885d13e44a50442b0e602eb
diff --git a/ndnmap-data-collector/debian/ndnmap-data-collector.postinst b/ndnmap-data-collector/debian/ndnmap-data-collector.postinst
new file mode 100644
index 0000000..413d850
--- /dev/null
+++ b/ndnmap-data-collector/debian/ndnmap-data-collector.postinst
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+if [ "$1" != "configure" ]; then
+    exit 0
+fi
+
+# Create HOME and generate self-signed NDN certificate
+mkdir -p "/var/lib/ndn/ndnmapDataCollector/.ndn"
+
+chown -R ndn:ndn "/var/lib/ndn/ndnmapDataCollector"
+
+#DEBHELPER#
+
+exit 0