summaryrefslogtreecommitdiffstats
path: root/main/man/whatis.periodic.daily
diff options
context:
space:
mode:
Diffstat (limited to 'main/man/whatis.periodic.daily')
-rwxr-xr-xmain/man/whatis.periodic.daily9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/man/whatis.periodic.daily b/main/man/whatis.periodic.daily
new file mode 100755
index 00000000..00d40dd9
--- /dev/null
+++ b/main/man/whatis.periodic.daily
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Make sure MANPATH is complete
+. /etc/profile
+. /etc/profile.d/* 2>/dev/null
+
+# Update the "whatis" database
+/usr/sbin/makewhatis -u -w
+