From: Don Armstrong Date: Wed, 3 Sep 2014 19:33:50 +0000 (-0700) Subject: switch from pre/postinst to maintscript X-Git-Tag: debian/2.18.2-1~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7afd2a3a0bafde8f3703c9c751dd0baac50515f1;p=lilypond.git switch from pre/postinst to maintscript --- diff --git a/debian/lilypond-doc.maintscript b/debian/lilypond-doc.maintscript new file mode 100644 index 0000000000..916bbd8b0c --- /dev/null +++ b/debian/lilypond-doc.maintscript @@ -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 index 1776858e18..0000000000 --- a/debian/lilypond-doc.postinst +++ /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 index 1776858e18..0000000000 --- a/debian/lilypond-doc.postrm +++ /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 index 1776858e18..0000000000 --- a/debian/lilypond-doc.preinst +++ /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;