[Logcheck-commits] CVS logcheck/debian

CVS User ttroxell logcheck-devel@lists.alioth.debian.org
Wed, 05 Jan 2005 18:16:29 -0700


Update of /cvsroot/logcheck/logcheck/debian
In directory haydn:/tmp/cvs-serv10091

Modified Files:
	logcheck.postinst 
Log Message:
oops


--- /cvsroot/logcheck/logcheck/debian/logcheck.postinst	2005/01/06 01:04:21	1.27
+++ /cvsroot/logcheck/logcheck/debian/logcheck.postinst	2005/01/06 01:16:29	1.28
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $Id: logcheck.postinst,v 1.27 2005/01/06 01:04:21 ttroxell Exp $
+# $Id: logcheck.postinst,v 1.28 2005/01/06 01:16:29 ttroxell Exp $
 
 set -e
 
@@ -54,7 +54,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.33; ]; then
+	if dpkg --compare-versions "$2" lt 1.2.33; then
     	  # Fix Permissions
     	  chown -R logcheck:logcheck /var/lib/logcheck  || true
           chgrp -R logcheck /etc/logcheck || true