diff options
author | James Meyer <james.meyer@operamail.com> | 2009-01-19 16:38:23 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-01-19 16:38:23 (GMT) |
commit | b51e7f9e5fa146abb9662b8f09c062e8bb55a7dd (patch) | |
tree | 11ad92eb2595424e3c5064e68a5e73ddae5b2278 /abs/core-testing/m4/m4.install | |
parent | eaa1e24dfe16f3f5a3d12b194f977e971c8f4b4b (diff) | |
download | linhes_pkgbuild-b51e7f9e5fa146abb9662b8f09c062e8bb55a7dd.zip linhes_pkgbuild-b51e7f9e5fa146abb9662b8f09c062e8bb55a7dd.tar.gz linhes_pkgbuild-b51e7f9e5fa146abb9662b8f09c062e8bb55a7dd.tar.bz2 |
adding m4, was in chroot-devel
Diffstat (limited to 'abs/core-testing/m4/m4.install')
-rw-r--r-- | abs/core-testing/m4/m4.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/core-testing/m4/m4.install b/abs/core-testing/m4/m4.install new file mode 100644 index 0000000..7954ba9 --- /dev/null +++ b/abs/core-testing/m4/m4.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(m4.info m4.info-1 m4.info-2) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: |