diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-05 14:37:07 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-05 14:37:07 +0200 |
commit | c68acbae9cc7da754349d869047814ecaa1ff3d7 (patch) | |
tree | ff0d83b8c456a8126e70e3f1f9f17144dd74a1c7 /etc/rc | |
parent | 747a0de1eb807ac46c1955d7fe022b3ac629e86c (diff) |
etc/rc: Only create manpath if it doesn't exist
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ export MPD_HOST=saviour [ $uname = Linux ] && export LANG=en_US.UTF-8 [ $uname = 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`/" export HOST -[ $uname = Linux ] && export MANPATH=$(manpath):$HOME/packages/.collected/man +[ $uname = Linux -a -z "$MANPATH" ] && export MANPATH=$(manpath):$HOME/packages/.collected/man # Fancy directory colors [ $uname = Linux ] && eval $(dircolors -b $HOME/packages/zsh/etc/dircolors) |