diff options
author | root <root@rshg054.dnsready.net> | 2013-02-17 00:45:16 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-02-17 00:45:16 -0800 |
commit | c6f4cd18ab706868be0eff10327a0dcd58cecdf3 (patch) | |
tree | de3914332965ed3485e383ba0da41ef1b1c8c427 /core/groff/groff.install | |
parent | 4a4f6be8604aa35bdc81ae29d86b07dc8aea0c5c (diff) |
Sun Feb 17 00:45:00 PST 2013
Diffstat (limited to 'core/groff/groff.install')
-rw-r--r-- | core/groff/groff.install | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/groff/groff.install b/core/groff/groff.install index 6807e4bef..dbef50f61 100644 --- a/core/groff/groff.install +++ b/core/groff/groff.install @@ -2,6 +2,7 @@ infodir=/usr/share/info filelist=(groff.info groff.info-1 groff.info-2 groff.info-3) post_install() { + [[ -x usr/bin/install-info ]] || return 0 for file in ${filelist[@]}; do install-info $infodir/$file $infodir/dir 2> /dev/null done @@ -12,6 +13,7 @@ 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 done |