From 8faaa1f33e9e90aefc0d529b637cc7048c47f820 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 1 Jan 2016 09:52:55 +0100 Subject: add sat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- sat/sat.install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 sat/sat.install (limited to 'sat/sat.install') diff --git a/sat/sat.install b/sat/sat.install new file mode 100644 index 0000000..ab11fb2 --- /dev/null +++ b/sat/sat.install @@ -0,0 +1,20 @@ +_file="sat" + +infodir="usr/share/info" +file="${_file}.info" + + +post_install() { + [[ -x "usr/bin/install-info" ]] || return 0 + install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x "usr/bin/install-info" ]] || return 0 + install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null +} + -- cgit v1.2.3-70-g09d2