3
# Add /usr/local/lib in .bash_profile if not already done
4
searchString="/usr/local/lib"
6
if [ -f ~/.bash_profile ]; then
7
if `cat ~/.bash_profile | grep "${searchString}" 1>/dev/null 2>&1`; then
8
echo "path already in PATH variable";
10
echo "adding /usr/local/lib to PATH variable in .bash_profile..."
11
echo "export PATH=/usr/local/lib:/usr/local/bin:\$PATH" >> ~/.bash_profile;
14
echo "creating .bash_profile and adding /usr/local/lib to PATH variable..."
15
echo "export PATH=/usr/local/lib:/usr/local/bin:\$PATH" > ~/.bash_profile;
18
# Add VERSIONER_PYTHON_PREFER_32_BIT in .bash_profile if not already done
19
searchString="VERSIONER_PYTHON_PREFER_32_BIT"
21
if `cat ~/.bash_profile | grep "${searchString}" 1>/dev/null 2>&1`; then
22
echo "Variable VERSIONER_PYTHON_PREFER_32_BIT already set.";
24
echo "Adding VERSIONER_PYTHON_PREFER_32_BIT=yes in .bash_profile...";
25
echo "export VERSIONER_PYTHON_PREFER_32_BIT=yes" >> ~/.bash_profile;