summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-07-17 01:27:52 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-07-17 01:27:52 (GMT)
commitfb352e9e1b900b06be003d51ac4bf9e42245010d (patch)
treea80be2777b6ac376fd2a4bae9753be85ceef3445 /debian/postinst
parentf4ddfc122c3948ddac6c5570c44531e7c1fa0960 (diff)
added debian packaging
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..8c09ec2
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,12 @@
+#!/bin/sh
+# postinst script for rhrdtime
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ adduser --quiet --system --group --home /var/lib/rhrdtime rhrdtime
+fi
+
+#DEBHELPER#
+
+exit 0