aboutsummaryrefslogtreecommitdiffstats
path: root/extra/man/whatis.periodic.daily
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-02-01 14:49:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-02-01 14:49:31 +0000
commit186aaa25fc72a12f8bfb9400e59895207c23cbd0 (patch)
tree18154887dd8e969f8bf51e67407a366762b0c72c /extra/man/whatis.periodic.daily
parentad56edd9c3866cd988a69669794f7e6cd7f1fc2f (diff)
downloadaports-186aaa25fc72a12f8bfb9400e59895207c23cbd0.tar.gz
aports-186aaa25fc72a12f8bfb9400e59895207c23cbd0.tar.bz2
aports-186aaa25fc72a12f8bfb9400e59895207c23cbd0.tar.xz
extra/man: new aport
A utility for reading man pages http://primates.ximian.com/~flucifredi/man/
Diffstat (limited to 'extra/man/whatis.periodic.daily')
-rwxr-xr-xextra/man/whatis.periodic.daily9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/man/whatis.periodic.daily b/extra/man/whatis.periodic.daily
new file mode 100755
index 0000000000..00d40dd9af
--- /dev/null
+++ b/extra/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
+