diff options
author | James Meyer <james.meyer@operamail.com> | 2011-09-02 19:33:23 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2011-09-02 19:33:23 (GMT) |
commit | 0f53c78099e839774618291f63b4443801810c87 (patch) | |
tree | a28dab7b74e7a48f8a9e04d0dd42a7024cfbb4c3 /abs/extra/autogen/autogen.install | |
parent | 8af79359c21b5f07981975c34a7d51ab063b249d (diff) | |
download | linhes_pkgbuild-0f53c78099e839774618291f63b4443801810c87.zip linhes_pkgbuild-0f53c78099e839774618291f63b4443801810c87.tar.gz linhes_pkgbuild-0f53c78099e839774618291f63b4443801810c87.tar.bz2 |
autogen: needed for grub2
Diffstat (limited to 'abs/extra/autogen/autogen.install')
-rw-r--r-- | abs/extra/autogen/autogen.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/abs/extra/autogen/autogen.install b/abs/extra/autogen/autogen.install new file mode 100644 index 0000000..181c256 --- /dev/null +++ b/abs/extra/autogen/autogen.install @@ -0,0 +1,20 @@ +infodir=/usr/share/info +filelist=(autogen.info autogen.info-1 autogen.info-2) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/${file}.gz $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/${file}.gz $infodir/dir 2> /dev/null + done +} + +# vim:set ts=2 sw=2 et: |