Control: tags -1 - pending
Control: tags -1 patch

On Fri, Sep 14, 2012 at 09:09:29PM +0200, Andreas Beckmann wrote:
> Package: vlc
> Version: 2.0.3-2

> during a test with piuparts I noticed that the copyright file of your
> package is missing after an upgrade from squeeze to wheezy.

Please find attach a patch that should address the issue. I didn't
pushed it to DELAYED/2 because I haven't yet been able to reproduce this
specific issue.

Regards

David
diff -Nru vlc-2.0.3/debian/changelog vlc-2.0.3/debian/changelog
--- vlc-2.0.3/debian/changelog	2012-08-18 11:45:01.000000000 -0400
+++ vlc-2.0.3/debian/changelog	2012-09-26 15:58:30.000000000 -0400
@@ -1,3 +1,12 @@
+vlc (2.0.3-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/vlc.postinst: Fix directory to symlink upgrade in postinst.
+    (Closes: #687657)
+  * debian/vlc.preinst: Remove insufficient fix to #613121 (similar issue).
+
+ -- David Prévot <taf...@debian.org>  Wed, 26 Sep 2012 15:58:25 -0400
+
 vlc (2.0.3-2) unstable; urgency=low
 
   * debian/rules: Use xz compression for binary packages.
diff -Nru vlc-2.0.3/debian/vlc.postinst vlc-2.0.3/debian/vlc.postinst
--- vlc-2.0.3/debian/vlc.postinst	1969-12-31 20:00:00.000000000 -0400
+++ vlc-2.0.3/debian/vlc.postinst	2012-09-26 15:51:18.000000000 -0400
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+
+# Replace documentation directory with symlink
+docdir="/usr/share/doc/vlc"
+if [ -d $docdir ] && [ ! -L $docdir ]; then
+    if rmdir $docdir 2>/dev/null; then
+        ln -sf vlc-nox $docdir
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff -Nru vlc-2.0.3/debian/vlc.preinst vlc-2.0.3/debian/vlc.preinst
--- vlc-2.0.3/debian/vlc.preinst	2012-06-30 07:02:46.000000000 -0400
+++ vlc-2.0.3/debian/vlc.preinst	1969-12-31 20:00:00.000000000 -0400
@@ -1,14 +0,0 @@
-#! /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 "2.0.1-2~" && test ! -L "/usr/share/doc/vlc"; then
-			rm -rf /usr/share/doc/vlc/
-		fi
-		;;
-esac
-
-#DEBHELPER#

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to