setup-apt-repo: Add ca-certificates to pre_setup_deps.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2019-09-19 18:58:55 -07:00 committed by Tim Abbott
parent 74d5d3db26
commit 2e1494bdbd
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ touch "$SOURCES_FILE"
# Hash it to check if the sources file is changed by the script later.
zulip_source_hash=$(sha1sum "$SOURCES_FILE")
pre_setup_deps=(lsb-release apt-transport-https gnupg)
pre_setup_deps=(lsb-release apt-transport-https ca-certificates gnupg)
if ! apt-get -dy install "${pre_setup_deps[@]}"; then
apt-get update
fi