2b67f33cdf
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.
16 lines
232 B
Bash
Executable file
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
|
|
|