Move PHP installdir to: /usr/local/apache
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 1111750..e1e845b 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -121,7 +121,8 @@ export TMOUT=900
 export EDITOR='vim'
 [ -x /bin/less ] && export PAGER='/bin/less -MMh5cis'
 [ "`uname`" = "SunOS" ] || export LC_CTYPE=cs_CZ.ISO-8859-2
-export PERL_MM_OPT="PERL=$HOME/bin/perlilib PREFIX=$HOME"
+export PERL_MM_OPT="PERL=$HOME/bin/perlilib"
+[ "$UID" -ne 0 ] && export PERL_MM_OPT="$PERL_MM_OPT PREFIX=$HOME"
 for file in $HOME/.bookmarks.html;do
        export WWW_HOME="file://$HOME/"
        [ -r $file ] && export WWW_HOME="file://$file"