diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-30 03:45:07 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-30 03:45:07 +0100 |
commit | 883b622883b74662e8774a8f1ccf0f4eef97d994 (patch) | |
tree | 0a9c47db460579533456e1bed366dd888e3c2d32 /dist/archlinux/stable/libkeccak.install | |
parent | readme: info (diff) | |
download | libkeccak-883b622883b74662e8774a8f1ccf0f4eef97d994.tar.gz libkeccak-883b622883b74662e8774a8f1ccf0f4eef97d994.tar.bz2 libkeccak-883b622883b74662e8774a8f1ccf0f4eef97d994.tar.xz |
prepare dist update
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | dist/archlinux/stable/libkeccak.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dist/archlinux/stable/libkeccak.install b/dist/archlinux/stable/libkeccak.install new file mode 100644 index 0000000..aa88d6d --- /dev/null +++ b/dist/archlinux/stable/libkeccak.install @@ -0,0 +1,20 @@ +_file="libkeccak" + +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 +} + |