From 7afd2a3a0bafde8f3703c9c751dd0baac50515f1 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 3 Sep 2014 12:33:50 -0700 Subject: [PATCH] switch from pre/postinst to maintscript --- debian/lilypond-doc.maintscript | 1 + debian/lilypond-doc.postinst | 11 ----------- debian/lilypond-doc.postrm | 11 ----------- debian/lilypond-doc.preinst | 11 ----------- 4 files changed, 1 insertion(+), 33 deletions(-) create mode 100644 debian/lilypond-doc.maintscript delete mode 100644 debian/lilypond-doc.postinst delete mode 100644 debian/lilypond-doc.postrm delete mode 100644 debian/lilypond-doc.preinst 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; -- 2.39.2