Enable OpenCSW packages on Solaris.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 02 Jun 2016 19:28:46 +0300
changeset 800 3af8147163dc
parent 799 c85ac0f4c0f5
child 801 2657c198b9e2
Enable OpenCSW packages on Solaris.
.env
--- a/.env	Thu Jun 02 16:53:01 2016 +0300
+++ b/.env	Thu Jun 02 19:28:46 2016 +0300
@@ -39,6 +39,9 @@
 if [[ ! :$PATH: =~ :$HOME/.local/bin: ]]; then
   export PATH=$PATH:$HOME/.local/bin
 fi
+if [[ $OSTYPE = solaris*  &&  ! :$PATH: =~ :/opt/csw/bin: ]]; then
+  export PATH=$PATH:/opt/csw/bin
+fi
 
 
 [[ -z $LD_LIBRARY_PATH ]] && LD_LIBRARY_PATH=$HOME/usr/lib