]> arthur.barton.de Git - ngircd-alex.git/blob - contrib/Debian/ngircd.postinst
Debian: update standards to 3.9.1; add libpam0g-dev dependency
[ngircd-alex.git] / contrib / Debian / ngircd.postinst
1 #!/bin/sh
2 #
3 # Debian post-installation script
4 # $Id: ngircd.postinst,v 1.2 2006/12/26 14:44:40 alex Exp $
5 #
6
7 set -e
8
9 case "$1" in
10         configure)
11                 if [ -f /etc/ngircd/ngircd.conf ]; then
12                         # make sure that the configuration file is not
13                         # world-readable, it contains passwords!
14                         chmod o= /etc/ngircd/ngircd.conf
15                 fi
16                 ;;
17 esac
18
19 #DEBHELPER#
20
21 # -eof-