tags 613121 + patch
tags 613121 + pending
thanks

Dear maintainer,

I've prepared an NMU for vlc (versioned as 1.1.12-2.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru vlc-1.1.12/debian/changelog vlc-1.1.12/debian/changelog
--- vlc-1.1.12/debian/changelog	2011-10-13 20:18:30.000000000 +0200
+++ vlc-1.1.12/debian/changelog	2011-11-07 17:40:58.000000000 +0100
@@ -1,3 +1,11 @@
+vlc (1.1.12-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add a preinst to vlc to drop it's doc directory before unpacking a
+    symlink to vlc-nox's over it. (Closes: #613121)
+
+ -- Didier Raboud <o...@debian.org>  Mon, 07 Nov 2011 16:40:10 +0100
+
 vlc (1.1.12-2) unstable; urgency=low
 
   * Apply patches from upstream's 1.1 maintenance branch.
diff -Nru vlc-1.1.12/debian/vlc.preinst vlc-1.1.12/debian/vlc.preinst
--- vlc-1.1.12/debian/vlc.preinst	1970-01-01 01:00:00.000000000 +0100
+++ vlc-1.1.12/debian/vlc.preinst	2011-11-07 17:38:42.000000000 +0100
@@ -0,0 +1,14 @@
+#! /bin/sh
+set -e
+
+case "$1" in
+	upgrade)
+		# Make sure /usr/share/doc/vlc doesn't exist or is a symlink
+		# before the unpacking (which will put the link back) - #613121
+		if dpkg --compare-versions "$2" le "1.1.12-2.1~" && [ ! -L "/usr/share/doc/vlc" ]; then
+			rm -Rf /usr/share/doc/vlc/
+		fi
+		;;
+esac
+
+#DEBHELPER#

Reply via email to