From c68acbae9cc7da754349d869047814ecaa1ff3d7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 5 Jun 2008 14:37:07 +0200 Subject: etc/rc: Only create manpath if it doesn't exist --- etc/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc b/etc/rc index b436748..15337e6 100644 --- a/etc/rc +++ b/etc/rc @@ -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) -- cgit v1.2.3