void-packages/srcpkgs/man-db/files/man-db.cron-daily
Doan Tran Cong Danh 2b67f33cdf man-db: add system account _man:_man
man-db complains that:
> mandb: the setuid man user "man" does not exist

While we're at it, patch man-db to not use glibc iconv's extension on
musl.
2019-11-17 12:54:28 +01:00

16 lines
232 B
Bash
Executable file

#!/bin/sh
# taken from Debian
# man-db cron daily
set -e
# Recover from deletion, per FHS.
mkdir -p /var/cache/man
chown _man:_man /var/cache/man
chmod 755 /var/cache/man
# regenerate man database
/usr/bin/mandb --quiet
exit 0