aboutsummaryrefslogtreecommitdiffstats
path: root/debian/postinst
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-04-07 00:11:33 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-04-07 00:14:14 -0400
commite835cd8d5dece7ff0183ede9df5b627494ed848b (patch)
tree4e9a721f805a5921ac350f007e7db4b538bc3521 /debian/postinst
parent5140318f8f758141b4e350871db1fe869eb858dc (diff)
Import Debian changes 1.1.5-0vanir1debian/1.1.5-0vanir1
hopm (1.1.5-0vanir1) unstable; urgency=medium * Initial release.
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..412cc54
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ chown irc:adm /var/log/hopm
+ chgrp irc /etc/hopm/hopm.conf
+ chmod g+r,o-rwx /etc/hopm/hopm.conf
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "ERROR: Postinst called with unknown argument!"
+ exit 0
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0