removing the temporary Dirty patch

pull/3566/head
thiagosantosleite 5 years ago
parent 82532c34ce
commit 20d5e6efff

@ -7,12 +7,6 @@ ARCH=$PROXYSQL_BUILD_ARCH
echo "==> $ARCH architecture detected for package"
# Dirty patch to ensure OS deps are installed:
apt-get update
apt-get -y install gnutls-dev || true
apt-get -y install libgnutls28-dev || true
apt-get -y install libtool || true
# Delete package if exists
rm -f "/opt/proxysql/binaries/proxysql_${CURVER}-${PKG_RELEASE}_$ARCH.deb" || true
# Cleanup relic directories from a previously failed build

@ -7,18 +7,6 @@ env
ARCH=$PROXYSQL_BUILD_ARCH
echo "==> $ARCH architecture detected for package"
echo "==> Dirty patching to ensure OS deps are installed"
if [[ -f "/usr/bin/python" ]] || [[ -h "/usr/bin/python" ]];
then
echo "==> Installing dependancies for RHEL compliant version 7"
yum -y install gnutls-devel libtool || true
else
echo "==> Installing dependancies for RHEL compliant version 8"
yum -y install python2 gnutls-devel libtool || true
ln -s /usr/bin/python2.7 /usr/bin/python || true
fi
echo "==> Cleaning"
# Delete package if exists
rm -f /opt/proxysql/binaries/proxysql-${CURVER}-1-${PKG_RELEASE}.$ARCH.rpm || true

Loading…
Cancel
Save