summaryrefslogtreecommitdiff
path: root/etc/parameters
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-08 21:47:16 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-08 21:47:16 +0100
commit3a9bc941507dff599842c163298eba3b87624211 (patch)
treeb2b2447b4f770476b5f605ac36d87ea69ea8a23e /etc/parameters
parent78ee4395d03e0f9456cea1b4bbe17d38b556f99a (diff)
parameters: Set manpath if "manpath" is available
Diffstat (limited to 'etc/parameters')
-rw-r--r--etc/parameters2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/parameters b/etc/parameters
index 1e307cc..dbb3419 100644
--- a/etc/parameters
+++ b/etc/parameters
@@ -24,6 +24,6 @@ compdump=~/var/cache/zsh/compdump
[[ $path[1] = $HOME/bin ]] || export PATH=$HOME/bin:$PATH
# Add manuals from pkg to manpath
-linux: [[ -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man
+check_com manpath && [[ -z $MANPATH ]] && export MANPATH=$(manpath):$HOME/packages/.collected/man
openbsd: export PKG_PATH="ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/`machine -a`/:ftp://openbsd.ftp.fu-berlin.de/pub/OpenBSD/`uname -r`/packages/`machine -a`/"