Unzip quietly while provisioning virtual machines

When provisioning the virtual machines used for packaging, we download
the Gradle zip archive and unzip. This unzip is noisy produing a lot of
unnecessary output. This commit silences this output.

Relates #25803
This commit is contained in:
Jason Tedor 2017-07-20 12:45:56 +09:00 committed by GitHub
parent 9989ac69a4
commit 9aa42a438b
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -272,7 +272,7 @@ def provision(config,
installed gradle || { installed gradle || {
echo "==> Installing Gradle" echo "==> Installing Gradle"
curl -sS -o /tmp/gradle.zip -L https://services.gradle.org/distributions/gradle-3.3-bin.zip curl -sS -o /tmp/gradle.zip -L https://services.gradle.org/distributions/gradle-3.3-bin.zip
unzip /tmp/gradle.zip -d /opt unzip -q /tmp/gradle.zip -d /opt
rm -rf /tmp/gradle.zip rm -rf /tmp/gradle.zip
ln -s /opt/gradle-3.3/bin/gradle /usr/bin/gradle ln -s /opt/gradle-3.3/bin/gradle /usr/bin/gradle
# make nfs mounted gradle home dir writeable # make nfs mounted gradle home dir writeable