diff options
author | root <root@rshg054.dnsready.net> | 2011-08-10 23:14:36 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-10 23:14:36 +0000 |
commit | e81c6fe4fb38144709923b2da3ab68a01712a26b (patch) | |
tree | e98431d7c18b82156a91c9cb208d725c06e84793 /extra/vcdimager/vcdimager.install | |
parent | a306c2530354c1c02351c4cc02eefa53c8d23eac (diff) |
Wed Aug 10 23:14:35 UTC 2011
Diffstat (limited to 'extra/vcdimager/vcdimager.install')
-rw-r--r-- | extra/vcdimager/vcdimager.install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/vcdimager/vcdimager.install b/extra/vcdimager/vcdimager.install index faa9748c2..79e07b5bc 100644 --- a/extra/vcdimager/vcdimager.install +++ b/extra/vcdimager/vcdimager.install @@ -1,7 +1,8 @@ -infodir=/usr/share/info +infodir=usr/share/info filelist=(vcd-info.info.gz vcdimager.info.gz vcdxrip.info.gz) 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 |