Commit Diff


commit - b0ea5b7d049155d0c117e04c60d9bc97dd68cc60
commit + 01929c161df4fb97801f25a110c6333c1bff3422
blob - 5e00b32d1f0953d7da01c89b4145e1bd840a9a04
blob + f2b93ef83eebcdc5d4e827077346a8f96274d176
--- debian/changelog
+++ 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 <alex@Arthur.Ath.CX>  Sun, 13 Jul 2003 00:52:38 +0200
+
 ngircd (0.7.0-0.6ab) unstable; urgency=low
 
   * Added /etc/default/ngircd.
blob - 39d0bbb0a765bc77b5a976c2bc31d0ed5e2cff38
blob + 6906c4b7a5d6d7f55573b5c0d655e03ada401e31
--- debian/ngircd.postinst
+++ 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