]> git.donarmstrong.com Git - lilypond.git/blobdiff - debian/lilypond-doc.postinst
properly handle symlink to directory
[lilypond.git] / debian / lilypond-doc.postinst
diff --git a/debian/lilypond-doc.postinst b/debian/lilypond-doc.postinst
new file mode 100644 (file)
index 0000000..2559f96
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+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 -- "$@"
+fi;