aboutsummaryrefslogtreecommitdiffstats
path: root/sat/sat.install
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-01 09:52:55 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-01 09:52:55 +0100
commit8faaa1f33e9e90aefc0d529b637cc7048c47f820 (patch)
tree7fe2be83d684f0c61c6f06c9f5a080b3f39c2022 /sat/sat.install
parentadd unstickpixels (diff)
downloadaur-packages-8faaa1f33e9e90aefc0d529b637cc7048c47f820.tar.gz
aur-packages-8faaa1f33e9e90aefc0d529b637cc7048c47f820.tar.bz2
aur-packages-8faaa1f33e9e90aefc0d529b637cc7048c47f820.tar.xz
add sat
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--sat/sat.install20
1 files changed, 20 insertions, 0 deletions
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
+}
+