12 lines
222 B
Text
12 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
|
||
|
}
|