Initial commit.
This commit is contained in:
commit
3d665e5e11
72 changed files with 3200 additions and 0 deletions
37
base-files/profile.d/optpaths.sh
Executable file
37
base-files/profile.d/optpaths.sh
Executable file
|
@ -0,0 +1,37 @@
|
|||
if [ "$(id -u)" = "0" -o "$(id -g)" = "0" ]; then
|
||||
PATH="$PATH:/opt/sbin:/opt/bin"
|
||||
else
|
||||
PATH="$PATH:/opt/bin"
|
||||
fi
|
||||
|
||||
if [ ! -n "$CPATH" ]; then
|
||||
CPATH="/opt/include"
|
||||
else
|
||||
CPATH="/opt/include:$CPATH"
|
||||
fi
|
||||
|
||||
if [ ! -n "$INFOPATH" ]; then
|
||||
INFOPATH="/opt/info"
|
||||
else
|
||||
INFOPATH="/opt/info:$INFOPATH"
|
||||
fi
|
||||
|
||||
if [ ! -n "$PERL5LIB" ]; then
|
||||
PERL5LIB="/opt/lib64/perl5:/opt/lib64/perl5/site_perl"
|
||||
else
|
||||
PERL5LIB="/opt/lib64/perl5:/opt/lib64/perl5/site_perl:$PERL5LIB"
|
||||
fi
|
||||
|
||||
if [ ! -n "$PKG_CONFIG_PATH" ]; then
|
||||
PKG_CONFIG_PATH="/opt/lib64/pkgconfig:/opt/share/pkgconfig"
|
||||
else
|
||||
PKG_CONFIG_PATH="/opt/lib64/pkgconfig:/opt/share/pkgconfig:$PKG_CONFIG_PATH"
|
||||
fi
|
||||
|
||||
if [ ! -n "$PYTHONPATH" ]; then
|
||||
PYTHONPATH="/opt/lib64/python2.7/site-packages"
|
||||
else
|
||||
PYTHONPATH="/opt/lib64/python2.7/site-packages:$PYTHONPATH"
|
||||
fi
|
||||
|
||||
export PATH CPATH INFOPATH PERL5LIB PKG_CONFIG_PATH PYTHONPATH
|
Loading…
Add table
Add a link
Reference in a new issue