aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/xpybar.install
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-30 04:04:20 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-30 04:04:20 +0100
commitb2aa1e95ea1f1c9c6cb2731c48283f76021a25a5 (patch)
treeb4385a945235beb1e0578abd6ff150946da91db0 /dist/archlinux/stable/xpybar.install
parentupdate dsit (diff)
downloadxpybar-b2aa1e95ea1f1c9c6cb2731c48283f76021a25a5.tar.gz
xpybar-b2aa1e95ea1f1c9c6cb2731c48283f76021a25a5.tar.bz2
xpybar-b2aa1e95ea1f1c9c6cb2731c48283f76021a25a5.tar.xz
update dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'dist/archlinux/stable/xpybar.install')
-rw-r--r--dist/archlinux/stable/xpybar.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/dist/archlinux/stable/xpybar.install b/dist/archlinux/stable/xpybar.install
new file mode 100644
index 0000000..ab45041
--- /dev/null
+++ b/dist/archlinux/stable/xpybar.install
@@ -0,0 +1,20 @@
+_file="xpybar"
+
+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
+}
+