[Logcheck-commits] r1233 - logcheck/trunk/debian

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Fri Oct 6 16:24:43 UTC 2006


Author: madduck
Date: 2006-10-06 16:24:42 +0000 (Fri, 06 Oct 2006)
New Revision: 1233

Modified:
   logcheck/trunk/debian/logcheck-database.postinst
Log:
hide error output from sha1sum hack

Modified: logcheck/trunk/debian/logcheck-database.postinst
===================================================================
--- logcheck/trunk/debian/logcheck-database.postinst	2006-10-06 16:24:31 UTC (rev 1232)
+++ logcheck/trunk/debian/logcheck-database.postinst	2006-10-06 16:24:42 UTC (rev 1233)
@@ -80,11 +80,11 @@
 
 	# Remove old sarge mv logcheck-data configfiles if unchanged
 	if [ -n "$2" ] && dpkg --compare-versions "$2" lt "1.2.48"; then
-		proftpd_sum=$(sha1sum '/etc/logcheck/ignore.d.paranoid/proftpd'\
+		proftpd_sum=$(sha1sum '/etc/logcheck/ignore.d.paranoid/proftpd' 2>/dev/null \
 			| awk '{print $1}')
-		imap_sum=$(sha1sum '/etc/logcheck/ignore.d.paranoid/imap' \
+		imap_sum=$(sha1sum '/etc/logcheck/ignore.d.paranoid/imap' 2>/dev/null \
 			| awk '{print $1}')
-		anacron_sum=$(sha1sum '/etc/logcheck/ignore.d.workstation/anacron'\
+		anacron_sum=$(sha1sum '/etc/logcheck/ignore.d.workstation/anacron' 2>/dev/null \
 			| awk '{print $1}')
 		if [ "${proftpd_sum}" = "da39a3ee5e6b4b0d3255bfef95601890afd80709" ]; then
 			rm -rf /etc/logcheck/ignore.d.paranoid/proftpd




More information about the Logcheck-commits mailing list