Run "basename" on our script name when it is a symlink as well. [from 0-9-x]
[ngircd-alex.git] / contrib / Debian / ngircd.postinst
1 #!/bin/sh
2 #
3 # Debian post-installation script
4 # $Id: ngircd.postinst,v 1.1 2003/12/31 17:20:11 alex Exp $
5 #
6
7 if [ -f /etc/ngircd/ngircd.conf ]; then
8         # make sure that configuration file is not world readable
9         chmod o= /etc/ngircd/ngircd.conf
10 fi
11
12 #DEBHELPER#
13
14 # -eof-