]> git.donarmstrong.com Git - lilypond.git/commitdiff
switch from pre/postinst to maintscript
authorDon Armstrong <don@donarmstrong.com>
Wed, 3 Sep 2014 19:33:50 +0000 (12:33 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 3 Sep 2014 19:33:50 +0000 (12:33 -0700)
debian/lilypond-doc.maintscript [new file with mode: 0644]
debian/lilypond-doc.postinst [deleted file]
debian/lilypond-doc.postrm [deleted file]
debian/lilypond-doc.preinst [deleted file]

diff --git a/debian/lilypond-doc.maintscript b/debian/lilypond-doc.maintscript
new file mode 100644 (file)
index 0000000..916bbd8
--- /dev/null
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/info/lilypond /usr/share/doc/lilypond/html/Documentation/user 2.18.2-1~
diff --git a/debian/lilypond-doc.postinst b/debian/lilypond-doc.postinst
deleted file mode 100644 (file)
index 1776858..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-set -e
-
-#DEBHELPER#
-
-if dpkg-maintscript-helper supports symlink_to_dir; then
-    dpkg-maintscript-helper symlink_to_dir \
-        /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
deleted file mode 100644 (file)
index 1776858..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-set -e
-
-#DEBHELPER#
-
-if dpkg-maintscript-helper supports symlink_to_dir; then
-    dpkg-maintscript-helper symlink_to_dir \
-        /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
deleted file mode 100644 (file)
index 1776858..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-set -e
-
-#DEBHELPER#
-
-if dpkg-maintscript-helper supports symlink_to_dir; then
-    dpkg-maintscript-helper symlink_to_dir \
-        /usr/share/info/lilypond /usr/share/doc/lilypond/html/Documentation/user \
-        2.18.2-1~ lilypond-doc -- "$@"
-fi;