mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 11:51:06 +00:00
add missing libxml2-dev and libxslt-dev dependencies
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
This commit is contained in:
parent
6154f37036
commit
18e4e528fd
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
set -e
|
||||
|
||||
if [ -f /etc/debian_version ]; then
|
||||
for package in python-pip python-virtualenv python-dev libevent-dev; do
|
||||
for package in python-pip python-virtualenv python-dev libevent-dev libxml2-dev libxslt-dev; do
|
||||
if [ "$(dpkg --status -- $package 2>/dev/null|sed -n 's/^Status: //p')" != "install ok installed" ]; then
|
||||
# add a space after old values
|
||||
missing="${missing:+$missing }$package"
|
||||
|
@ -14,7 +14,7 @@ if [ -f /etc/debian_version ]; then
|
|||
fi
|
||||
fi
|
||||
if [ -f /etc/redhat-release ]; then
|
||||
for package in python-pip python-virtualenv python-devel libevent-devel; do
|
||||
for package in python-pip python-virtualenv python-devel libevent-devel libxml2-devel libxslt-devel; do
|
||||
if [ "$(rpm -qa $package 2>/dev/null)" == "" ]; then
|
||||
missing="${missing:+$missing }$package"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue