[martin f krafft <[EMAIL PROTECTED]> - 11:48AM Saturday May 21]:

> Package: fluxbox
> Version: 0.9.11-1
> Severity: critical

> Fluxbox 0.9.11-1 does not provide bsetbg and does not register
> diversions for bsetbg anymore (#263512), but it also does not delete
> existing diversions from previous versions. This will cause problems
> with any other package that provides /usr/bin/bsetbg.

% interdiff -z fluxbox_0.9.11-1.diff.gz fluxbox_0.9.11-1sarge0.diff.gz

diff -u fluxbox-0.9.11/debian/changelog fluxbox-0.9.11/debian/changelog
--- fluxbox-0.9.11/debian/changelog
+++ fluxbox-0.9.11/debian/changelog
@@ -1,3 +1,10 @@
+fluxbox (0.9.11-1sarge0) testing-proposed-updates; urgency=high
+
+  * Fix for Severity=critical bug (Closes: Bug#310050)
+     - Cleans up old divert for bsetbg (See: Bug#263512)
+
+ -- Matt Hope <[EMAIL PROTECTED]>  Mon, 20 Dec 2004 17:26:09 +1100
+
 fluxbox (0.9.11-1) unstable; urgency=low
 
   * New upstream release
diff -u fluxbox-0.9.11/debian/fluxbox.preinst 
fluxbox-0.9.11/debian/fluxbox.preinst
--- fluxbox-0.9.11/debian/fluxbox.preinst
+++ fluxbox-0.9.11/debian/fluxbox.preinst
@@ -15,9 +15,25 @@
     
 }
 
+# Older versions of this package included 'bsetbg' and
+# related dpkg-divert rules.
+remove_old_divert()
+{
+
+    dpkg-divert --package fluxbox --remove --rename --divert \
+        /usr/bin/bsetbg.blackbox \
+        /usr/bin/bsetbg
+
+    dpkg-divert --package fluxbox --remove --rename --divert \
+        /usr/share/man/man1/bsetbg.blackbox.1.gz \
+        /usr/share/man/man1/bsetbg.1.gz
+
+}
+
 
 case $1 in
     install) do_divert ;;
+    upgrade) remove_old_divert ;;
 
 esac
 

Reply via email to