Commit 62d1cfe1 authored by Otto Kekäläinen's avatar Otto Kekäläinen

Deb: always build mariadb-cracklib-password-check, even on Travis-CI

Previously Travis-CI stated that cracklib is forbidden, but it does
not longer seem to be the case.
parent 1369696b
......@@ -40,8 +40,7 @@ CODENAME="$(lsb_release -sc)"
# Add libcrack2 (>= 2.9.0) as a build dependency if available in the distribution
# This matches Debian Jessie, Stretch and Ubuntu Trusty, Wily, Xenial, Yakkety
# Update check when version 2.10 or newer is available.
# On Travis-CI never build cracklib, as it is forbidden on Travis-CI.org
if [[ ! $TRAVIS ]] && apt-cache madison libcrack2-dev | grep 'libcrack2-dev *| *2\.9' >/dev/null 2>&1
if apt-cache madison libcrack2-dev | grep 'libcrack2-dev *| *2\.9' >/dev/null 2>&1
then
sed 's/Standards-Version/,libcrack2-dev (>= 2.9.0)\nStandards-Version/' debian/control
cat <<EOT >> debian/control
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment