debian/atheme-services.postinst
raw| 1 | #! /bin/sh |
| 2 | |
| 3 | # atheme-services |
| 4 | # Version: atheme-services 2.2.0 06-08-07 |
| 5 | # Author: Bradley Smith <[email protected]> |
| 6 | |
| 7 | set -e |
| 8 | |
| 9 | case "$1" in |
| 10 | |
| 11 | configure) |
| 12 | chown irc:irc /var/lib/atheme/ |
| 13 | chown irc:irc /var/log/atheme/ |
| 14 | chown root:irc /etc/atheme/ |
| 15 | chmod 770 /etc/atheme/ |
| 16 | ;; |
| 17 | abort-upgrade|abort-remove|abort-deconfigure) |
| 18 | ;; |
| 19 | |
| 20 | *) |
| 21 | echo "ERROR: Postinst called with unknown argument!" |
| 22 | exit 0 |
| 23 | ;; |
| 24 | |
| 25 | esac |
| 26 | |
| 27 | #DEBHELPER# |
| 28 | |
| 29 | exit 0 |