mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
11 lines
222 B
Text
11 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
|
|
}
|