From 01929c161df4fb97801f25a110c6333c1bff3422 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 12 Jul 2003 22:57:00 +0000 Subject: [PATCH] Fixed up post installation script. --- debian/changelog | 6 ++++++ debian/ngircd.postinst | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5e00b32d..f2b93ef8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ngircd (0.7.0-0.7ab) unstable; urgency=low + + * Fixed up post installation script (added interpreter, fixed chmod call). + + -- Alexander Barton Sun, 13 Jul 2003 00:52:38 +0200 + ngircd (0.7.0-0.6ab) unstable; urgency=low * Added /etc/default/ngircd. diff --git a/debian/ngircd.postinst b/debian/ngircd.postinst index 39d0bbb0..6906c4b7 100644 --- a/debian/ngircd.postinst +++ b/debian/ngircd.postinst @@ -1,12 +1,12 @@ #!/bin/sh # # Debian post-installation script -# $Id: ngircd.postinst,v 1.1.2.2 2003/07/12 18:48:17 alex Exp $ +# $Id: ngircd.postinst,v 1.1.2.3 2003/07/12 22:57:00 alex Exp $ # if [ -f /etc/ngircd/ngircd.conf ]; then - # validate permissions of configuration file - chmod o-a /etc/ngircd/ngircd.conf + # make sure that configuration file is not world readable + chmod o= /etc/ngircd/ngircd.conf fi if [ -x "/etc/init.d/ngircd" ]; then