setup: etc/profile - add xdg like ~/.local/bin to PATH if exists

glen glen at pld-linux.org
Sat Jan 22 21:08:33 CET 2011


Author: glen                         Date: Sat Jan 22 20:08:33 2011 GMT
Module: setup                         Tag: HEAD
---- Log message:
- add xdg like ~/.local/bin to PATH if exists

---- Files affected:
setup/etc:
   profile (1.53 -> 1.54) 

---- Diffs:

================================================================
Index: setup/etc/profile
diff -u setup/etc/profile:1.53 setup/etc/profile:1.54
--- setup/etc/profile:1.53	Sat Jan 22 21:07:59 2011
+++ setup/etc/profile	Sat Jan 22 21:08:28 2011
@@ -11,6 +11,7 @@
 }
 checkpath "$PATH" /usr/X11R6/bin || PATH="$PATH:/usr/X11R6/bin"
 checkpath "$PATH" /usr/local/bin || PATH="$PATH:/usr/local/bin"
+checkpath "$PATH" "$HOME/.local/bin" || PATH="$PATH:$HOME/.local/bin"
 checkpath "$PATH" "$HOME/bin" || PATH="$PATH:$HOME/bin"
 unset checkpath
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/setup/etc/profile?r1=1.53&r2=1.54&f=u



More information about the pld-cvs-commit mailing list