]> arthur.barton.de Git - ngircd.git/commitdiff
Fixed up post installation script.
authorAlexander Barton <alex@barton.de>
Sat, 12 Jul 2003 22:57:00 +0000 (22:57 +0000)
committerAlexander Barton <alex@barton.de>
Sat, 12 Jul 2003 22:57:00 +0000 (22:57 +0000)
debian/changelog
debian/ngircd.postinst

index 5e00b32d1f0953d7da01c89b4145e1bd840a9a04..f2b93ef83eebcdc5d4e827077346a8f96274d176 100644 (file)
@@ -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.
index 39d0bbb0a765bc77b5a976c2bc31d0ed5e2cff38..6906c4b7a5d6d7f55573b5c0d655e03ada401e31 100644 (file)
@@ -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