diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:45:33 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:45:33 (GMT) |
commit | 58c09e7721915b7ee8b92345f242ab0da6176c06 (patch) | |
tree | d7d1952b9131a3c48300213185bfd2f3460f1baf /abs/core/nettle/nettle.install | |
parent | 80d1276c4aab094c21ca671b71e5e3cddadefd58 (diff) | |
download | linhes_pkgbuild-58c09e7721915b7ee8b92345f242ab0da6176c06.zip linhes_pkgbuild-58c09e7721915b7ee8b92345f242ab0da6176c06.tar.gz linhes_pkgbuild-58c09e7721915b7ee8b92345f242ab0da6176c06.tar.bz2 |
nettle 2.5
Diffstat (limited to 'abs/core/nettle/nettle.install')
-rw-r--r-- | abs/core/nettle/nettle.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core/nettle/nettle.install b/abs/core/nettle/nettle.install new file mode 100644 index 0000000..3d19b5f --- /dev/null +++ b/abs/core/nettle/nettle.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(nettle.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null + done +} |