From: Don Armstrong <don@donarmstrong.com>
Date: Wed, 3 Sep 2014 18:43:57 +0000 (-0700)
Subject: Fix Broken usage of dpkg-maintscript-helper (relative pathnames vs. aboslute pathname... 
X-Git-Tag: debian/2.18.2-1~2
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e6f3566f6ef376e48b1145271c80064675fbb617;p=lilypond.git

Fix Broken usage of dpkg-maintscript-helper (relative pathnames vs. aboslute pathnames), thanks to Guillem Jover and Petter Reinholdtsen (Closes: #758787).
---

diff --git a/debian/changelog b/debian/changelog
index e39555f53d..5dbfd12d26 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,11 @@
 lilypond (2.18.2-1) unstable; urgency=medium
 
   * New upstream version
+  * Fix Broken usage of dpkg-maintscript-helper (relative pathnames vs.
+    aboslute pathnames), thanks to Guillem Jover and Petter Reinholdtsen
+    (Closes: #758787).
 
- -- Don Armstrong <don@debian.org>  Wed, 21 May 2014 14:43:13 -0700
+ --
 
 lilypond (2.18.0-1) unstable; urgency=low
 
diff --git a/debian/lilypond-doc.postinst b/debian/lilypond-doc.postinst
index 2559f962d6..1776858e18 100644
--- a/debian/lilypond-doc.postinst
+++ b/debian/lilypond-doc.postinst
@@ -6,6 +6,6 @@ set -e
 
 if dpkg-maintscript-helper supports symlink_to_dir; then
     dpkg-maintscript-helper symlink_to_dir \
-        /usr/share/info/lilypond ../doc/lilypond/html/Documentation/user \
-        2.18.0-1~ lilypond-doc -- "$@"
+        /usr/share/info/lilypond /usr/share/doc/lilypond/html/Documentation/user \
+        2.18.2-1~ lilypond-doc -- "$@"
 fi;
diff --git a/debian/lilypond-doc.postrm b/debian/lilypond-doc.postrm
index 2559f962d6..1776858e18 100644
--- a/debian/lilypond-doc.postrm
+++ b/debian/lilypond-doc.postrm
@@ -6,6 +6,6 @@ set -e
 
 if dpkg-maintscript-helper supports symlink_to_dir; then
     dpkg-maintscript-helper symlink_to_dir \
-        /usr/share/info/lilypond ../doc/lilypond/html/Documentation/user \
-        2.18.0-1~ lilypond-doc -- "$@"
+        /usr/share/info/lilypond /usr/share/doc/lilypond/html/Documentation/user \
+        2.18.2-1~ lilypond-doc -- "$@"
 fi;
diff --git a/debian/lilypond-doc.preinst b/debian/lilypond-doc.preinst
index 2559f962d6..1776858e18 100644
--- a/debian/lilypond-doc.preinst
+++ b/debian/lilypond-doc.preinst
@@ -6,6 +6,6 @@ set -e
 
 if dpkg-maintscript-helper supports symlink_to_dir; then
     dpkg-maintscript-helper symlink_to_dir \
-        /usr/share/info/lilypond ../doc/lilypond/html/Documentation/user \
-        2.18.0-1~ lilypond-doc -- "$@"
+        /usr/share/info/lilypond /usr/share/doc/lilypond/html/Documentation/user \
+        2.18.2-1~ lilypond-doc -- "$@"
 fi;