tags 407411 patch
thanks
On 2007-01-18 Teemu Likonen <[EMAIL PROTECTED]> wrote:
> Package: iceape-browser
> Version: 1.0.7-2
> Severity: minor

> After purging the iceape-browser package there are following symlinks
> left in the /etc/alternatives directory:

> lrwxrwxrwx 1 root root 15 2007-01-13 11:10 mozilla -> /usr/bin/iceape
> lrwxrwxrwx 1 root root 31 2007-01-13 11:10 mozilla.1.gz -> 
> /usr/share/man/man1/iceape.1.gz

> /etc/cron.daily/man-db script sends a warning email every day:

> mandb: warning: /usr/share/man/man1/mozilla.1.gz is a dangling symlink

Patch attached.
cu and- I thnk this is normal not minor BTW -reas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde
Index: iceape-browser.prerm
===================================================================
--- iceape-browser.prerm	(Revision 0)
+++ iceape-browser.prerm	(Revision 0)
@@ -0,0 +1,15 @@
+#! /bin/sh
+# prerm script for iceape-browser
+
+set -e
+
+case "$1" in
+    deconfigure|remove)
+        update-alternatives --remove x-www-browser /usr/bin/iceape
+        update-alternatives --remove mozilla /usr/bin/iceape
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
Index: changelog
===================================================================
--- changelog	(Revision 39778)
+++ changelog	(Arbeitskopie)
@@ -4,6 +4,8 @@
     it is about postrm rules for purge.
   * debian/control: Make iceape conflict with mozilla (<< 2:1.8) instead of
     mozilla. Closes: #405911.
+  * debian/iceape-browser.prerm: (new file) Remove alternatives.
+    Closes: #407411
 
  -- Mike Hommey <[EMAIL PROTECTED]>  Sun,  7 Jan 2007 13:12:55 +0100
 

Reply via email to