[SCM] npapi-vlc/master: debian/mozilla-plugin-vlc.preinst: Remove previous symlink that is replaced by a directory.
bdrung at users.alioth.debian.org
bdrung at users.alioth.debian.org
Sun Oct 28 18:51:38 UTC 2012
The following commit has been merged in the master branch:
commit 40794f4230fe5309ed3796b0bf2e42b5e2564de7
Author: Benjamin Drung <bdrung at debian.org>
Date: Sun Oct 28 19:37:12 2012 +0100
debian/mozilla-plugin-vlc.preinst: Remove previous symlink that is replaced by a directory.
Thanks: David Prévot
Closes: #690133
diff --git a/debian/changelog b/debian/changelog
index 6169a91..482cbba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+npapi-vlc (2.0.0-2) unstable; urgency=low
+
+ * debian/mozilla-plugin-vlc.preinst: Remove previous symlink that is
+ replaced by a directory. Thanks to David Prévot. (Closes: #690133)
+
+ -- Benjamin Drung <bdrung at debian.org> Sun, 28 Oct 2012 19:01:32 +0100
+
npapi-vlc (2.0.0-1) unstable; urgency=low
* Initial release (Closes: #663647).
diff --git a/debian/mozilla-plugin-vlc.preinst b/debian/mozilla-plugin-vlc.preinst
new file mode 100644
index 0000000..35b25f9
--- /dev/null
+++ b/debian/mozilla-plugin-vlc.preinst
@@ -0,0 +1,10 @@
+#! /bin/sh
+set -e
+
+# Delete symlink that will be replaced by a directory
+dir="/usr/share/doc/mozilla-plugin-vlc"
+if [ -L $dir ]; then
+ rm $dir 2>/dev/null
+fi
+
+#DEBHELPER#
--
npapi-vlc packaging
More information about the pkg-multimedia-commits
mailing list