mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
21 lines
309 B
Text
21 lines
309 B
Text
![]() |
#!/bin/sh
|
||
|
|
||
|
# Update the "whatis" database
|
||
|
#/usr/sbin/makewhatis -u -w
|
||
|
|
||
|
# 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
|
||
|
|