[Logcheck-commits] CVS logcheck/debian

CVS User maks-guest logcheck-devel at lists.alioth.debian.org
Tue Jul 4 17:03:53 UTC 2006


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

Modified Files:
	changelog logtail.preinst 
Log Message:

clean up old dpkg-divert logtail manpage handling


--- /cvsroot/logcheck/logcheck/debian/changelog	2006/07/04 16:52:43	1.596
+++ /cvsroot/logcheck/logcheck/debian/changelog	2006/07/04 17:03:53	1.597
@@ -60,10 +60,11 @@
   [ maximilian attems ]
   * debian/logcheck.postinst: Remove old check against woody version
     removing /var/cache/logcheck.
-  * logcheck-database.preinst, debian/logcheck-database.postinst: Remove checks
-    against old woody symlinkfarm.
+  * debian/logcheck-database.preinst, debian/logcheck-database.postinst:
+    Remove checks against old woody symlinkfarm.
+  * debian/logtail.preinst: Remove old dpkg-divert handling.
 
- -- maximilian attems <maks at sternwelten.at>  Tue,  4 Jul 2006 18:48:14 +0200
+ -- maximilian attems <maks at sternwelten.at>  Tue,  4 Jul 2006 18:59:20 +0200
 
 logcheck (1.2.44) UNRELEASED; urgency=low
 
--- /cvsroot/logcheck/logcheck/debian/logtail.preinst	2004/04/19 18:22:04	1.1.1.1
+++ /cvsroot/logcheck/logcheck/debian/logtail.preinst	2006/07/04 17:03:53	1.2
@@ -17,19 +17,7 @@
 
 case "$1" in
     install|upgrade)
-	if [ -n "$2" ]; then 
-	    if dpkg --compare-versions "$2" lt "1.1.9.4"; then
-		dpkg-divert --package logtail --add --rename \
-		    /usr/share/man/man8/logtail.8.gz
-	    elif dpkg --compare-versions "$2" gt "1.1.9.5"; then
-		if grep /usr/share/man/man8/logtail.8.gz /var/lib/dpkg/diversions > /dev/null; then
-		    rm -f /usr/share/man/man8/logtail.8.gz.distrib
-		    dpkg-divert --package logtail --remove \
-			/usr/share/man/man8/logtail.8.gz
-		fi
-	    fi
-	fi
-	;;
+    ;;
 
     abort-upgrade)
     ;;



More information about the Logcheck-commits mailing list