debian/hopm.postinst
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | case "$1" in |
| 6 | configure) |
| 7 | chown irc:adm /var/log/hopm |
| 8 | chgrp irc /etc/hopm/hopm.conf |
| 9 | chmod g+r,o-rwx /etc/hopm/hopm.conf |
| 10 | ;; |
| 11 | abort-upgrade|abort-remove|abort-deconfigure) |
| 12 | ;; |
| 13 | *) |
| 14 | echo "ERROR: Postinst called with unknown argument!" |
| 15 | exit 0 |
| 16 | ;; |
| 17 | esac |
| 18 | |
| 19 | #DEBHELPER# |
| 20 | |
| 21 | exit 0 |