tags 458691 + patch
thanks

Hi,

Attached is the diff for my mime-support 3.40-1.1 NMU.

Cheers,
Julien
diff -Nru mime-support-3.40/debian/changelog mime-support-3.40/debian/changelog
--- mime-support-3.40/debian/changelog	2008-01-01 17:45:29.000000000 +0100
+++ mime-support-3.40/debian/changelog	2008-02-22 14:26:08.000000000 +0100
@@ -1,3 +1,11 @@
+mime-support (3.40-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Don't install a 'view' alternative (closes: #458691), and remove the one
+    installed by 3.40-1.
+
+ -- Julien Cristau <[EMAIL PROTECTED]>  Fri, 22 Feb 2008 14:18:30 +0100
+
 mime-support (3.40-1) unstable; urgency=medium
 
   * added new mime.types (closes: 432273, 418564, 425014, 421678, 402559, 437724)
diff -Nru /tmp/JecyJJvYhv/mime-support-3.40/debian/postinst /tmp/rn1h0O91p3/mime-support-3.40/debian/postinst
--- mime-support-3.40/debian/postinst	2008-01-01 17:43:51.000000000 +0100
+++ mime-support-3.40/debian/postinst	2008-02-22 14:25:31.000000000 +0100
@@ -4,17 +4,14 @@
 #if [ "$1" = "configure" ]; then
 #fi
 
-
 # Remove the old status directory (and any orphaned install-mime program)
 rm -fr /var/lib/mime
 rm -f  /usr/sbin/install-mime
 
-
-# Use "see" as alternative for "view"
-update-alternatives \
-    --install /usr/bin/view view /usr/bin/see 90 \
-    --slave /usr/share/man/man1/view.1.gz view.1.gz /usr/share/man/man1/see.1.gz
-
+# remove the "view" alternative installed by 3.40-1
+if [ "$1" = "configure" ] && [ "$2" = "3.40-1" ]; then
+    update-alternatives --remove view /usr/bin/see
+fi
 
 # Run the update program
 if [ -x /usr/sbin/update-mime ]; then

Attachment: signature.asc
Description: Digital signature

Reply via email to