summaryrefslogtreecommitdiff
blob: b3794f255734121683feaeb5751cf9d18ba75ca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Use same perms/settings as the ebuild.
cachedir="/var/cache/man"
if [ ! -d "${cachedir}" ]; then
	mkdir -p "${cachedir}"
	chown man:man "${cachedir}"
	chmod 0755 "${cachedir}"
fi

exec nice mandb --quiet