[Logcheck-commits] CVS logcheck/debian

CVS User maks-guest logcheck-devel@lists.alioth.debian.org
Thu, 30 Sep 2004 15:59:52 -0600


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

Modified Files:
	changelog logcheck-database.config 
Log Message:

only show rules-directories-note on upgrade,
i did a new install today and found them quite confusing for a newbie.
there message is clearly for an upgrade path,
that was already before woody, well do not care about that.


--- /cvsroot/logcheck/logcheck/debian/changelog	2004/09/30 19:59:12	1.233
+++ /cvsroot/logcheck/logcheck/debian/changelog	2004/09/30 21:59:52	1.234
@@ -10,8 +10,8 @@
     Remove gratious call to uniq that should be done with SORTUNIQ.
     (closes: #270677)
   * Add violations.ignore.d/su on old logfiles to be removed on sarge upgrade.
-  * Minor doc change.
   * Add rules for kdm/xdm on level workstation.
+  * Only show "rules-directories-note" on upgrade.
   todd:
   * Add 1 dovecot rule
 
--- /cvsroot/logcheck/logcheck/debian/logcheck-database.config	2004/05/13 12:47:14	1.2
+++ /cvsroot/logcheck/logcheck/debian/logcheck-database.config	2004/09/30 21:59:52	1.3
@@ -9,19 +9,18 @@
 . /usr/share/debconf/confmodule
 db_version 2.0
 
-db_text low logcheck-database/rules-directories-note || true
-db_go
 
 # Only show messages about changes on an upgrade
 if [ "$action" = "configure" -a -n "$version" ]; then
     if dpkg --compare-versions "$version" lt "1.2.1"; then
+        db_text low logcheck-database/rules-directories-note || true
         db_text low logcheck-database/standard-rename-note || true
-	db_go
+	db_go || true
     fi
 
     if dpkg --compare-versions "$version" lt "1.2.6"; then
 	db_text medium logcheck-database/conffile-cleanup || true
-	db_go
+	db_go || true
     fi
 fi