mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 12:07:10 +01:00
14 lines
406 B
Bash
Executable File
14 lines
406 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# Create the catpages dist - must follow manpages dist script, for obvious
|
|
# reasons.
|
|
if [ -d ${RD}/trees/manpages/usr/share/man ]; then
|
|
su -m man -c 'catman ${RD}/trees/manpages/usr/share/man' > /dev/null 2>&1;
|
|
( cd ${RD}/trees/manpages/usr/share/man;
|
|
find cat* whatis | cpio -dumpl ${RD}/trees/catpages/usr/share/man ) &&
|
|
rm -rf ${RD}/trees/manpages/usr/share/man/cat*;
|
|
fi
|