mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
This works around a frequent problem we've been having with Travis CI's apt repository being busted on startup. This, in turn, caused `apt-get install moreutils` to fail. We attempt to fix this by adding our own retry logic.
9 lines
189 B
Bash
Executable File
9 lines
189 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
|
|
sudo apt-get install moreutils || (
|
|
echo "Error trying to install moreutils; retrying after apt update"
|
|
sudo apt-get update
|
|
sudo apt-get install moreutils
|
|
)
|