add zlib-devel

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
This commit is contained in:
Orit Wasserman 2016-05-19 17:12:46 +02:00
parent 18e4e528fd
commit 2f07f93007

View file

@ -2,7 +2,7 @@
set -e set -e
if [ -f /etc/debian_version ]; then if [ -f /etc/debian_version ]; then
for package in python-pip python-virtualenv python-dev libevent-dev libxml2-dev libxslt-dev; do for package in python-pip python-virtualenv python-dev libevent-dev libxml2-dev libxslt-dev zlib1g-dev; do
if [ "$(dpkg --status -- $package 2>/dev/null|sed -n 's/^Status: //p')" != "install ok installed" ]; then if [ "$(dpkg --status -- $package 2>/dev/null|sed -n 's/^Status: //p')" != "install ok installed" ]; then
# add a space after old values # add a space after old values
missing="${missing:+$missing }$package" missing="${missing:+$missing }$package"
@ -14,7 +14,7 @@ if [ -f /etc/debian_version ]; then
fi fi
fi fi
if [ -f /etc/redhat-release ]; then if [ -f /etc/redhat-release ]; then
for package in python-pip python-virtualenv python-devel libevent-devel libxml2-devel libxslt-devel; do for package in python-pip python-virtualenv python-devel libevent-devel libxml2-devel libxslt-devel zlib-devel; do
if [ "$(rpm -qa $package 2>/dev/null)" == "" ]; then if [ "$(rpm -qa $package 2>/dev/null)" == "" ]; then
missing="${missing:+$missing }$package" missing="${missing:+$missing }$package"
fi fi