diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-04 23:46:33 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2010-09-04 23:46:33 (GMT) |
commit | 28529e9eb61bc25c1392daa9719d61ee4ee75dcb (patch) | |
tree | a72e7fc84ca68978abe6f275a0461afe8c84c602 /abs/core-testing/libmpc/libmpc.install | |
parent | 1f3b4ba1dd55908ecb5b5d2ab307d4cd1b108ca2 (diff) | |
download | linhes_pkgbuild-28529e9eb61bc25c1392daa9719d61ee4ee75dcb.zip linhes_pkgbuild-28529e9eb61bc25c1392daa9719d61ee4ee75dcb.tar.gz linhes_pkgbuild-28529e9eb61bc25c1392daa9719d61ee4ee75dcb.tar.bz2 |
libmpc:Bumped/Updated for LinHES 7.
Diffstat (limited to 'abs/core-testing/libmpc/libmpc.install')
-rw-r--r-- | abs/core-testing/libmpc/libmpc.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core-testing/libmpc/libmpc.install b/abs/core-testing/libmpc/libmpc.install new file mode 100644 index 0000000..bb20831 --- /dev/null +++ b/abs/core-testing/libmpc/libmpc.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(libmpc.info) + +post_install() { + [ -x usr/bin/install-info ] || return 0 + for file in ${filelist[@]}; do + install-info $infodir/$file.gz $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.gz $infodir/dir 2> /dev/null + done +} |