blob: 6a0f36b6736f5737227153f0b81373e9afbf97f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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
}
post_remove() {
rm -rf /var/cache/man
}
|