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