Environment overhaul.
authorIain Patterson <me@iain.cx>
Fri, 18 Sep 2009 12:16:54 +0000 (13:16 +0100)
committerIain Patterson <me@iain.cx>
Fri, 18 Sep 2009 14:10:23 +0000 (15:10 +0100)
commit719ead9b34472b47fc4721e304f7ce0b703f94c4
tree2517251df581468017aaa5b17b5d6cbe60676fa1
parent41bba1a13e04c472115c71242a2d0ee1549e519b
Environment overhaul.

Store XXXdirs files in ~/.PATH and add subdirectories for SYSTEM and
ARCHITECTURE under there.
Remove duplicate entries from paths set in PATH.bashrc.
Also read XXXdirs.pre and XXXdirs.post.
.pre entries are guaranteed to come before whatever was already defined
or is defined with XXXdirs.
.post entries are guaranteed to be present but may not necessarily be
last if they were already defined.

Add paths under opt to default XXXdirs.pre files.
Add /lib to libdirs.post on Solaris as the Solaris linker uses the value
of LD_LIBRARY_PATH to override system defaults.
.PATH/SunOS/libdirs.post [new file with mode: 0644]
.PATH/bindirs.post [new file with mode: 0644]
.PATH/bindirs.pre [new file with mode: 0644]
.PATH/incdirs.pre [new file with mode: 0644]
.PATH/libdirs.pre [new file with mode: 0644]
.PATH/mandirs.pre [new file with mode: 0644]
.PATH/pkgdirs.pre [new file with mode: 0644]
.profile.d/PATH.bashrc