diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-30 04:04:20 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-30 04:04:20 +0100 |
commit | b2aa1e95ea1f1c9c6cb2731c48283f76021a25a5 (patch) | |
tree | b4385a945235beb1e0578abd6ff150946da91db0 /dist/archlinux/stable/xpybar.install | |
parent | update dsit (diff) | |
download | xpybar-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 '')
-rw-r--r-- | dist/archlinux/stable/xpybar.install | 20 |
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 +} + |