Skip to content

Commit

Permalink
Adjust MariaDB vs. MySQL check.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkiro committed Jan 15, 2016
1 parent 0328fb0 commit 56e4c0f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions scripts/run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ else
sudo apt-get install -y python-dev
fi

if [ ! `mysql --version | grep -qi maria` ]
then
sudo apt-get install -y libmariadbclient-dev
else
sudo apt-get install -y libmysqlclient-dev
fi
mysql --version | grep -qi maria && sudo apt-get install -y libmariadbclient-dev
mysql --version | grep -qi maria || sudo apt-get install -y libmysqlclient-dev

sudo apt-get install -y build-essential

Expand Down

0 comments on commit 56e4c0f

Please sign in to comment.