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