Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 43ed892508
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (20 sloc) 0.557 kb
post_install() {
echo "it's recommended to create an initial"
echo "database running as root:"
echo "\"/usr/bin/mandb --quiet\""
}
post_upgrade() {
if [ "`vercmp $2 2.5.3-2`" -lt 0 ]; then
echo "systemuser \"man\" is no more required"
echo "run \"userdel man\". please also"
echo "chown root:root /var/cache/man"
fi
# force database rebuild to get rid off badly imported pages
if [ "`vercmp $2 2.6.0.2`" -lt 0 ]; then
echo "(re)building database..."
mandb -c --quiet
fi
}
post_remove() {
rm -rf /var/cache/man
}
Jump to Line
Something went wrong with that request. Please try again.