aboutsummaryrefslogtreecommitdiffstats
path: root/debian/postinst
blob: 412cc54f27b0eafcf45ec315a9eb3eb7a9bc4573 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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