make: notify user if yq is going to be installed

Notify about yq installation, and make the output of curl silent.

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
This commit is contained in:
Marco Vedovati
2018-11-16 17:40:50 +01:00
parent ab43e2accb
commit 58c1db54a8
2 changed files with 2 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ function install_yq() {
yq_version=$(basename "${yq_latest_url}")
local yq_url="https://${yq_pkg}/releases/download/${yq_version}/yq_${goos}_${goarch}"
curl -o "${yq_path}" -L ${yq_url}
curl -o "${yq_path}" -LSs ${yq_url}
chmod +x ${yq_path}
if ! command -v "${yq_path}" >/dev/null; then