summaryrefslogtreecommitdiff
path: root/testing/man-db
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-14 04:54:18 +0000
committerroot <root@rshg047.dnsready.net>2011-04-14 04:54:18 +0000
commit0917a0682e48c4261e47d743725d990f47f6ec95 (patch)
tree32b99e036a20918da470922bf40276cedcfe7506 /testing/man-db
parent9c49791f6e912bd4834f00f2c6b3a00e6c12bb73 (diff)
Thu Apr 14 04:54:18 UTC 2011
Diffstat (limited to 'testing/man-db')
-rw-r--r--testing/man-db/PKGBUILD6
-rw-r--r--testing/man-db/man-db.install6
2 files changed, 8 insertions, 4 deletions
diff --git a/testing/man-db/PKGBUILD b/testing/man-db/PKGBUILD
index f3f681169..0c4b05652 100644
--- a/testing/man-db/PKGBUILD
+++ b/testing/man-db/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 119509 2011-04-11 20:08:00Z andyrtr $
+# $Id: PKGBUILD 119687 2011-04-13 16:45:31Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Sergej Pupykin <sergej@aur.archlinux.org>
pkgname=man-db
-pkgver=2.6.0.1
+pkgver=2.6.0.2
pkgrel=1
pkgdesc="A utility for reading man pages"
arch=('i686' 'x86_64')
@@ -21,7 +21,7 @@ install=${pkgname}.install
source=(http://savannah.nongnu.org/download/man-db/$pkgname-$pkgver.tar.gz
#http://launchpad.net/man-db/main/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz
convert-mans man-db.cron.daily)
-md5sums=('664519fbee417dc4934f94caf6627fc3'
+md5sums=('2b41c96efec032d2b74ccbf2e401f93e'
'2b7662a7d5b33fe91f9f3e034361a2f6'
'd30c39ae47560304471b5461719e0f03')
options=('!libtool')
diff --git a/testing/man-db/man-db.install b/testing/man-db/man-db.install
index 6a0f36b67..f6f0f27a6 100644
--- a/testing/man-db/man-db.install
+++ b/testing/man-db/man-db.install
@@ -10,9 +10,13 @@ post_upgrade() {
echo "run \"userdel man\". please also"
echo "chown root:root /var/cache/man"
fi
+ # force database rebuild to get rid off badly imported pages
+ if [ "`vercmp $2 2.6.0.2`" -lt 0 ]; then
+ echo "(re)building database..."
+ mandb -c --quiet
+ fi
}
post_remove() {
rm -rf /var/cache/man
}
-