mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
19 lines
388 B
Plaintext
19 lines
388 B
Plaintext
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
|
|
}
|
|
|