aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/auto-auto-complete.install
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-11 22:32:24 +0200
committerMattias Andrée <maandree@operamail.com>2014-10-11 22:32:24 +0200
commit77f08b04332e2d2046f279c5b7f7b11713a56d6e (patch)
tree1795478d4857cd1612fcb923259202f2996ebb24 /dist/archlinux/stable/auto-auto-complete.install
parentadd autocompletion (diff)
downloadauto-auto-complete-77f08b04332e2d2046f279c5b7f7b11713a56d6e.tar.gz
auto-auto-complete-77f08b04332e2d2046f279c5b7f7b11713a56d6e.tar.bz2
auto-auto-complete-77f08b04332e2d2046f279c5b7f7b11713a56d6e.tar.xz
update dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--dist/archlinux/stable/auto-auto-complete.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/dist/archlinux/stable/auto-auto-complete.install b/dist/archlinux/stable/auto-auto-complete.install
new file mode 100644
index 0000000..6744da8
--- /dev/null
+++ b/dist/archlinux/stable/auto-auto-complete.install
@@ -0,0 +1,20 @@
+_file="auto-auto-complete"
+
+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
+}
+