diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:28:08 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:28:08 (GMT) |
commit | f12b941ccc3d3057b625254fe298a6e08433d5ea (patch) | |
tree | e85fef46441950eb06abe7f957e20733551e4cb2 /abs/core/gnutls/gnutls.install | |
parent | db36c399fcfe215e0bc9e0fe484918ff14286764 (diff) | |
download | linhes_pkgbuild-f12b941ccc3d3057b625254fe298a6e08433d5ea.zip linhes_pkgbuild-f12b941ccc3d3057b625254fe298a6e08433d5ea.tar.gz linhes_pkgbuild-f12b941ccc3d3057b625254fe298a6e08433d5ea.tar.bz2 |
gnutls 3.0.21
Diffstat (limited to 'abs/core/gnutls/gnutls.install')
-rw-r--r-- | abs/core/gnutls/gnutls.install | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/abs/core/gnutls/gnutls.install b/abs/core/gnutls/gnutls.install index b9a5bae..e8c8e17 100644 --- a/abs/core/gnutls/gnutls.install +++ b/abs/core/gnutls/gnutls.install @@ -1,9 +1,10 @@ -infodir=/usr/share/info -filelist=(gnutls.info gnutls.info-1 gnutls.info-2 gnutls.info-3) +infodir=usr/share/info +filelist=(gnutls.info-1.gz gnutls.info-2.gz gnutls.info-3.gz gnutls.info-4.gz gnutls.info.gz) post_install() { + [ -x usr/bin/install-info ] || return 0 for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null + install-info $infodir/$file $infodir/dir 2> /dev/null done } @@ -12,7 +13,8 @@ post_upgrade() { } 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 + install-info --delete $infodir/$file $infodir/dir 2> /dev/null done } |