aboutsummaryrefslogtreecommitdiff
path: root/system/man-db/man-db.csh
diff options
context:
space:
mode:
Diffstat (limited to 'system/man-db/man-db.csh')
-rw-r--r--system/man-db/man-db.csh12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/man-db/man-db.csh b/system/man-db/man-db.csh
new file mode 100644
index 0000000000000..6cf39ce0ba496
--- /dev/null
+++ b/system/man-db/man-db.csh
@@ -0,0 +1,12 @@
+#!/bin/csh
+
+# Set up environment for man-db. This file is part of the slackbuilds.org
+# man-db build.
+
+# Author: B. Watson. License: WTFPL
+
+setenv MANPATH /opt/man-db/man:$MANPATH
+set path = ( /opt/man-db/bin $path )
+if ("`id -u`" == "0") then
+ set path = ( /opt/man-db/sbin $path )
+endif