about summary refs log tree commit diff
path: root/contrib/Debian/ngircd.postinst
blob: 556793422965de19db04747dafb3217172c22c8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#
# Debian post-installation script
# $Id: ngircd.postinst,v 1.2 2006/12/26 14:44:40 alex Exp $
#

set -e

case "$1" in
	configure)
		if [ -f /etc/ngircd/ngircd.conf ]; then
			# make sure that the configuration file is not
			# world-readable, it contains passwords!
			chmod o= /etc/ngircd/ngircd.conf
		fi
		;;
esac

#DEBHELPER#

# -eof-