[arch-commits] Commit in texinfo/trunk (PKGBUILD texinfo.install)
Aaron Griffin
aaron at archlinux.org
Wed Jan 28 18:53:32 UTC 2009
Date: Wednesday, January 28, 2009 @ 13:53:31
Author: aaron
Revision: 25764
upgpkg: texinfo 4.13a-2
Scan all info files on install. Fix for dep-cycles in core
Modified:
texinfo/trunk/PKGBUILD
texinfo/trunk/texinfo.install
-----------------+
PKGBUILD | 2 +-
texinfo.install | 9 ++++++---
2 files changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-01-28 18:04:36 UTC (rev 25763)
+++ PKGBUILD 2009-01-28 18:53:31 UTC (rev 25764)
@@ -4,7 +4,7 @@
pkgname=texinfo
pkgver=4.13a
-pkgrel=1
+pkgrel=2
pkgdesc="Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/texinfo/"
Modified: texinfo.install
===================================================================
--- texinfo.install 2009-01-28 18:04:36 UTC (rev 25763)
+++ texinfo.install 2009-01-28 18:53:31 UTC (rev 25764)
@@ -2,13 +2,16 @@
filelist=(info.info.gz info-stnd.info.gz texinfo.gz texinfo-1.gz texinfo-2.gz texinfo-3.gz)
post_install() {
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
+ # Scan *all* info files on install
+ for file in $(find $infodir -type f ! -name dir); do
+ install-info $file $infodir/dir 2> /dev/null
done
}
post_upgrade() {
- post_install $1
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
}
pre_remove() {
More information about the arch-commits
mailing list