diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-04 22:51:13 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-04 22:51:13 (GMT) |
commit | 400b16afef123438f299a04d8ab1bc150f850304 (patch) | |
tree | 9ecc4ded96ede4ca3f188bf1cb6a4bb99785b8e0 /abs/core-testing/bc/bc.install | |
parent | 7df60587a359bdefa8a99a209efb7e8be9d2ac66 (diff) | |
download | linhes_pkgbuild-400b16afef123438f299a04d8ab1bc150f850304.zip linhes_pkgbuild-400b16afef123438f299a04d8ab1bc150f850304.tar.gz linhes_pkgbuild-400b16afef123438f299a04d8ab1bc150f850304.tar.bz2 |
bc:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/bc/bc.install')
-rw-r--r-- | abs/core-testing/bc/bc.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core-testing/bc/bc.install b/abs/core-testing/bc/bc.install new file mode 100644 index 0000000..e1e2eaa --- /dev/null +++ b/abs/core-testing/bc/bc.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(bc.info.gz dc.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 +} + +post_upgrade() { + post_install $1 +} + +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 +} |