blob: 5c38001b590dc137fe79137ce693f67bbae838ee (
plain)
1
2
3
4
5
6
7
8
9
10
|
# -*- mode: sh; -*-
# Run makewhatis if a manual page is installed, or removed
case $TYPE in
post-install|pre-remove)
grep -q "^/usr/share/man/" "$DEST/manifest" &&
run_makewhatis=1
;;
end-install|end-remove)
[ "$run_makewhatis" ] && makewhatis "$DEST/usr/share/man"
esac
|