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:
parent
ee85d37ce9
commit
6388d8f3ef
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user