mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 03:23:50 +00:00
install: Replace wget with curl.
curl uses Happy Eyeballs to avoid long timeouts on systems with broken IPv6. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
d428c0e0dd
commit
91bfebca7d
@@ -72,7 +72,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 ca-certificates gnupg wget)
|
||||
pre_setup_deps=(lsb-release apt-transport-https ca-certificates gnupg curl)
|
||||
if ! apt-get -dy install "${pre_setup_deps[@]}"; then
|
||||
apt-get update
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user