Skip to content

Commit 6b19388

Browse files
committed
updated bootstrap.sh
1 parent 1ad7d99 commit 6b19388

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup/bootstrap.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ elif [ "$(uname -s)" = Linux ]; then
4545
if [ -n "${CI:-}" ]; then
4646
export DEBIAN_FRONTEND=noninteractive
4747
fi
48-
opts=""
48+
opts="-o DPkg::Lock::Timeout=1200"
4949
if [ -z "${PS1:-}" ]; then
50-
opts="-qq"
50+
opts="$opts -qq"
5151
fi
52-
$sudo apt-get update $opts
52+
$sudo apt-get update $opts
5353
$sudo apt-get install $opts -y git make curl wget --no-install-recommends
5454
elif type yum >/dev/null 2>&1; then
5555
if grep -qi 'NAME=.*CentOS' /etc/*release; then

0 commit comments

Comments
 (0)