summaryrefslogtreecommitdiffstats
path: root/etc/periodic/weekly/320.whatis
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-08-16 17:04:02 +0000
committerpst <pst@FreeBSD.org>1997-08-16 17:04:02 +0000
commit1d67bc6abbb219a957bf68da4f8eb8e69058f0ba (patch)
tree564f5ee31ac28af72ffa391c4b9fdf67a5bedf7b /etc/periodic/weekly/320.whatis
parent003551adee3fcf367794630d905a06997d9a1dfe (diff)
downloadFreeBSD-src-1d67bc6abbb219a957bf68da4f8eb8e69058f0ba.zip
FreeBSD-src-1d67bc6abbb219a957bf68da4f8eb8e69058f0ba.tar.gz
Copy /etc/cron.d to /etc/periodic per-request of many.
This wasn't done with a repository copy because there was no history of any consequence. Flames to me.
Diffstat (limited to 'etc/periodic/weekly/320.whatis')
-rwxr-xr-xetc/periodic/weekly/320.whatis18
1 files changed, 18 insertions, 0 deletions
diff --git a/etc/periodic/weekly/320.whatis b/etc/periodic/weekly/320.whatis
new file mode 100755
index 0000000..6ae23a4
--- /dev/null
+++ b/etc/periodic/weekly/320.whatis
@@ -0,0 +1,18 @@
+#!/bin/sh -
+#
+# $Id: 320.whatis,v 1.1.1.1 1997/08/12 17:51:16 pst Exp $
+#
+
+if [ -x /usr/libexec/makewhatis.local -a -d /usr/share/man ] ; then
+
+ echo ""
+ echo "Rebuilding whatis database:"
+
+ if [ -d /usr/X11R6/man ] ; then
+ MANPATH=${MANPATH:-/usr/share/man:/usr/X11R6/man:/usr/local/man}
+ else
+ MANPATH=${MANPATH:-/usr/share/man:/usr/local/man}
+ fi
+
+ /usr/libexec/makewhatis.local "${MANPATH}"
+fi
OpenPOWER on IntegriCloud