Geneate tag db after installation
[grml-tips.git] / debian / postinst
diff --git a/debian/postinst b/debian/postinst
new file mode 100755 (executable)
index 0000000..585579a
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+if [ -x /usr/bin/grml-tips-tags ]
+then
+       echo -n "Generating grml-tips tag database: "
+       if grml-tips-tags
+       then
+               echo "Ok"
+       else
+               echo "Failed"
+       fi
+fi
+
+ #DEBHELPER#
+ exit 0