man-pages: only exec mandb at postinst if available.
This commit is contained in:
parent
24072d83fd
commit
28bbccbb1a
2 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
# Rebuild mandb cache.
|
||||
case "${ACTION}" in
|
||||
post)
|
||||
mandb -q || exit 1
|
||||
if [ -x usr/bin/mandb ]; then
|
||||
usr/bin/mandb -q || exit 1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'man-pages'
|
||||
pkgname=man-pages
|
||||
version=3.42
|
||||
revision=2
|
||||
revision=3
|
||||
noarch=yes
|
||||
short_desc="Linux Documentation Project manual pages"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
|
Loading…
Reference in a new issue