jobcore/man-db/man-db.install
2022-03-20 14:19:37 +02:00

11 lines
222 B
Text

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
}