[BACK]Return to ngircd.postinst CVS log [TXT][DIR] Up to [local] / ircnowd / contrib / Debian

Annotation of ircnowd/contrib/Debian/ngircd.postinst, Revision 1.1.1.1

1.1       tomglok     1: #!/bin/sh
                      2: #
                      3: # Debian post-installation script
                      4: #
                      5:
                      6: set -e
                      7:
                      8: case "$1" in
                      9:        configure)
                     10:                if [ -f /etc/ngircd/ngircd.conf ]; then
                     11:                        # make sure that the configuration file is not
                     12:                        # world-readable, it contains passwords!
                     13:                        chmod o= /etc/ngircd/ngircd.conf
                     14:                        chgrp irc /etc/ngircd/ngircd.conf
                     15:                fi
                     16:                ;;
                     17: esac
                     18:
                     19: #DEBHELPER#
                     20:
                     21: # -eof-

CVSweb