summaryrefslogtreecommitdiff
path: root/libre-testing/man-db/man-db.install
blob: 8db2147a8921f4fa086da7328e414b9c421c3d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
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
}