diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-06 22:27:34 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-06 22:27:34 (GMT) |
commit | 199b067c0b36f2f460c547481858c29e3c7fda81 (patch) | |
tree | 6faeba9b1bc97b7f537832422bd26e6e5ea8cf5e /abs/core/autoconf/autoconf.install | |
parent | 6d5784e8b4dbbf1438e6442f0e2553c2e8335bf9 (diff) | |
download | linhes_pkgbuild-199b067c0b36f2f460c547481858c29e3c7fda81.zip linhes_pkgbuild-199b067c0b36f2f460c547481858c29e3c7fda81.tar.gz linhes_pkgbuild-199b067c0b36f2f460c547481858c29e3c7fda81.tar.bz2 |
autoconf 2.69
Diffstat (limited to 'abs/core/autoconf/autoconf.install')
-rw-r--r-- | abs/core/autoconf/autoconf.install | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/abs/core/autoconf/autoconf.install b/abs/core/autoconf/autoconf.install index 6440ec6..7f3a099 100644 --- a/abs/core/autoconf/autoconf.install +++ b/abs/core/autoconf/autoconf.install @@ -2,8 +2,9 @@ infodir=/usr/share/info filelist=(autoconf.info) post_install() { + [ -x usr/bin/install-info ] || return 0 for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null + install-info $infodir/$file.gz $infodir/dir 2> /dev/null done } @@ -12,9 +13,8 @@ post_upgrade() { } pre_remove() { + [ -x usr/bin/install-info ] || return 0 for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null + install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null done } - -# vim:set ts=2 sw=2 et: |