Geneate tag db after installation
authorAlexander Wirt <formorer@grml.org>
Wed, 11 Jan 2012 12:49:03 +0000 (13:49 +0100)
committerAlexander Wirt <formorer@grml.org>
Wed, 11 Jan 2012 12:49:03 +0000 (13:49 +0100)
debian/postinst [new file with mode: 0755]

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