Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test-install: Add support for focal.

Alex Vandiver8499b2c0dc52
diff --git a/tools/test-install/prepare-base b/tools/test-install/prepare-base
index f46340f1feb..94ba65a93a4 100755
--- a/tools/test-install/prepare-base
+++ b/tools/test-install/prepare-base
@@ -10,8 +10,10 @@ RELEASE="$1"
ARCH=amd64 # TODO: maybe i686 too
case "$RELEASE" in
- bionic) extra_packages=(virtualenv)
- ;;
+ bionic) extra_packages=(python-pip)
+ ;;
+ focal) extra_packages=(python3-pip)
+ ;;
*)
echo "error: unsupported target release: $RELEASE" >&2
exit 1
@@ -50,8 +52,9 @@ run apt-get install -y --no-install-recommends \
memcached rabbitmq-server redis-server \
hunspell-en-us supervisor libssl-dev puppet \
gettext libffi-dev libfreetype6-dev zlib1g-dev libjpeg-dev \
- libldap2-dev libmemcached-dev python-dev python-pip \
+ libldap2-dev libmemcached-dev \
python-six libxml2-dev libxslt1-dev libpq-dev \
+ virtualenv \
"${extra_packages[@]}"
run ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime