allow libmariadbclient-dev to be installed
if mariadb is detected, install libmariadbclient-dev otherwise, install libmysqlclient-dev Change-Id: I9876e759deb0a235a5c98cc134caeae7593b6835
This commit is contained in:
parent
e3eb50bb16
commit
fb887e3c79
@ -418,7 +418,9 @@ 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-dev; 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
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user