jobcore/man-db/man-db.install

12 lines
222 B
Text
Raw Normal View History

2022-03-20 13:19:37 +01:00
post_upgrade() {
# force database rebuild as recommended per upstream
if [ "`vercmp $2 2.7.0`" -lt 0 ]; then
echo "(re)building database..."
mandb -c --quiet
fi
}
post_remove() {
rm -rf /var/cache/man
}