Fix venv build in when mariadb is installed

Previous change forgot to remove the NOT, this fixes that.  We should
install libmariadbclient-dev if libmariadbclient is detected, not
libmysqlclient-dev.

Change-Id: Id261a2b0d3574ed8995c969320000a742e60f4da
This commit is contained in:
Matthew Thode 2017-08-29 18:45:39 -05:00
parent ee85d37ce9
commit 6388d8f3ef
No known key found for this signature in database
GPG Key ID: 64A37BEAAE19A4E8

View File

@ -418,7 +418,7 @@ function build_venv {
# Install libmysqlclient-dev so that we are later able to build mysql-python
# Allow libmariadbclient-dev to be used instead
if ! apt --installed list | grep libmariadbclient; then
if apt --installed list | grep libmariadbclient; then
apt-get -y install libmariadbclient-dev > /dev/null
else
apt-get -y install libmysqlclient-dev > /dev/null