summaryrefslogtreecommitdiff
path: root/system/man-db/man-db.csh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-08-15 14:58:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-15 23:21:33 +0700
commitb1e258732ea485dd4feb6d25dd2ae3f636dbfaef (patch)
treea6b0eceb0da7f56da97d89fc45e06b1910939b26 /system/man-db/man-db.csh
parent4c4f7066fc127ec5a20de1c5dad2ac1668cbd4e5 (diff)
downloadslackbuilds-b1e258732ea485dd4feb6d25dd2ae3f636dbfaef.tar.gz
system/man-db: Added (database-driven manual pager suite).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 0000000000..6cf39ce0ba
--- /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