[Logcheck-commits] CVS logcheck/debian
CVS User ttroxell
logcheck-devel@lists.alioth.debian.org
Thu, 01 Jul 2004 00:00:32 -0600
Update of /cvsroot/logcheck/logcheck/debian
In directory haydn:/tmp/cvs-serv24163
Modified Files:
changelog logcheck.postinst
Log Message:
fix permission bugs.
Basically, the conditional did not consider the case of version 1.2.19-x in
which the permission stuff was modified.
--- /cvsroot/logcheck/logcheck/debian/changelog 2004/06/28 09:14:42 1.135
+++ /cvsroot/logcheck/logcheck/debian/changelog 2004/07/01 06:00:32 1.136
@@ -15,6 +15,8 @@
template and got updates for all translations. Thanks for fast responses!
todd:
* Update innfeed rules (Closes: #254133).
+ * Change postinst script to set permissions on versions previous to 1.2.23
+ (Closes: #253998).
--
--- /cvsroot/logcheck/logcheck/debian/logcheck.postinst 2004/06/01 21:37:04 1.15
+++ /cvsroot/logcheck/logcheck/debian/logcheck.postinst 2004/07/01 06:00:32 1.16
@@ -1,6 +1,6 @@
#!/bin/sh
-# $Id: logcheck.postinst,v 1.15 2004/06/01 21:37:04 maks-guest Exp $
+# $Id: logcheck.postinst,v 1.16 2004/07/01 06:00:32 ttroxell Exp $
set -e
@@ -40,7 +40,7 @@
if [ "$2" = "" -a ! -f /etc/logcheck/header.txt ]; then
cp -p /usr/share/logcheck/header.txt /etc/logcheck
fi
- if dpkg --compare-versions "$2" lt 1.2.19; then
+ if dpkg --compare-versions "$2" lt 1.2.23; then
# Fix Permissions
chown -R logcheck:logcheck /var/lib/logcheck || true
chown -R logcheck:logcheck /var/state/logcheck > /dev/null 2>&1 \