void-packages/srcpkgs/man-db/files/man-db.cron-daily
classabbyamp 9ab1405894
*: remove unnecessary execute permissions
* INSTALL scripts don't need to be executable
* anything installed by vbin is set to 755
* many of these files were otherwise marked executable in the template
  (vinstall, chmod, etc)
* some had no business being executable, like the smattering of patches
  and other files
* remove files from chroot-distcc no longer used in the template
  (46ce787b63d467d9b8e5ef8821e2ddefea4b980a)
2024-08-02 13:24:47 -04:00

17 lines
232 B
Bash

#!/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