[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/10: guix-install.sh: Don't swallow wget errors.
From: |
guix-commits |
Subject: |
10/10: guix-install.sh: Don't swallow wget errors. |
Date: |
Wed, 29 Sep 2021 11:01:28 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit e4ed0b3969ddbe44347c468c96ccfa057b2dd256
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Sep 29 16:53:17 2021 +0200
guix-install.sh: Don't swallow wget errors.
Using ‘-q’ suppresses *all* stderr output, including errors.
* etc/guix-install.sh (chk_gpg_keyring, guix_get_bin_list, guix_get_bin):
Substitute ‘--no-verbose’ for ‘-q’.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
etc/guix-install.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 4f0f891..b0d4a8b 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -139,12 +139,12 @@ chk_gpg_keyring()
required to verify the Guix binary signature: $gpg_key_id.
Would you like me to fetch it for you? (yes/no)"; then
wget "https://sv.gnu.org/people/viewgpg.php?user_id=$user_id" \
- -qO - | gpg --import -
+ --no-verbose -O- | gpg --import -
else
_err "${ERR}Missing OpenPGP public key ($gpg_key_id).
Fetch it with this command:
- wget \"https://sv.gnu.org/people/viewgpg.php?user_id=$user_id\" -qO - | \
+ wget \"https://sv.gnu.org/people/viewgpg.php?user_id=$user_id\" -O - | \
sudo -i gpg --import -"
exit_flag=yes
fi
@@ -272,7 +272,7 @@ guix_get_bin_list()
_debug "--- [ ${FUNCNAME[0]} ] ---"
# Filter only version and architecture
- bin_ver_ls=("$(wget -qO- "$gnu_url" \
+ bin_ver_ls=("$(wget "$gnu_url" --no-verbose -O- \
| sed -n -e 's/.*guix-binary-\([0-9.]*[a-z0-9]*\)\..*.tar.xz.*/\1/p' \
| sort -Vu)")
@@ -305,7 +305,7 @@ guix_get_bin()
_msg "${INF}Downloading Guix release archive"
wget --help | grep -q '\--show-progress' \
- && wget_args=("-q" "--show-progress")
+ && wget_args=("--no-verbose" "--show-progress")
if wget "${wget_args[@]}" -P "$dl_path" \
"${url}/${bin_ver}.tar.xz" "${url}/${bin_ver}.tar.xz.sig"; then
- branch master updated (e0bbe76 -> e4ed0b3), guix-commits, 2021/09/29
- 01/10: gnu: texlive-latex-l3packages: Fix typo in description., guix-commits, 2021/09/29
- 04/10: gnu: parinfer-rust: Fix typos in description., guix-commits, 2021/09/29
- 02/10: gnu: rust-dbus: Fix typo in description., guix-commits, 2021/09/29
- 08/10: gnu: exim: Don't return #t from phases., guix-commits, 2021/09/29
- 06/10: gnu: exim: Update to 4.95., guix-commits, 2021/09/29
- 03/10: gnu: trytond-stock-forecast: Fix typo in description., guix-commits, 2021/09/29
- 05/10: gnu: ocaml-dune-build-info: Fix typo in description., guix-commits, 2021/09/29
- 07/10: gnu: exim: Prepare for cross-compilation., guix-commits, 2021/09/29
- 10/10: guix-install.sh: Don't swallow wget errors.,
guix-commits <=
- 09/10: gnu: dehydrated: Update description., guix-commits, 2021/09/29