mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-24 14:32:56 +02:00
17 lines
249 B
Bash
Executable file
17 lines
249 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# taken from Debian
|
|
# man-db cron daily
|
|
set -e
|
|
|
|
if ! [ -d /var/cache/man ]; then
|
|
# Recover from deletion, per FHS.
|
|
mkdir -p /var/cache/man
|
|
chmod 755 /var/cache/man
|
|
fi
|
|
|
|
# regenerate man database
|
|
/usr/bin/mandb --quiet
|
|
|
|
exit 0
|
|
|