From e3bb7ec10db971c1ac946b0b6f62991219a39539 Mon Sep 17 00:00:00 2001 From: Nils VAN ZUIJLEN Date: Thu, 25 Mar 2021 09:51:24 +0100 Subject: [PATCH] Redirect wget stderr to stdout --- scripts/install | 4 ++-- scripts/upgrade | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 1c13639..65b37f7 100755 --- a/scripts/install +++ b/scripts/install @@ -151,8 +151,8 @@ fi ynh_script_progression --message="Dowloading and configuring LDAP plugin" --weight=2 # Download from yeswiki repository -wget https://repository.yeswiki.net/doryphore/extension-loginldap-$loginldap_version.zip -wget https://repository.yeswiki.net/doryphore/extension-loginldap-$loginldap_version.zip.md5 +wget https://repository.yeswiki.net/doryphore/extension-loginldap-$loginldap_version.zip 2>&1 +wget https://repository.yeswiki.net/doryphore/extension-loginldap-$loginldap_version.zip.md5 2>&1 md5sum -c extension-loginldap-$loginldap_version.zip.md5 || ynh_die "Checksum for LDAP plugin does not match" unzip extension-loginldap-$loginldap_version.zip -d $final_path/tools diff --git a/scripts/upgrade b/scripts/upgrade index cb05181..58a75e1 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -91,8 +91,8 @@ then ynh_script_progression --message="Upgrading LDAP plugin..." --weight=3 # Download LDAP plugin from yeswiki repository - wget https://repository.yeswiki.net/doryphore/extension-loginldap-$loginldap_version.zip - wget https://repository.yeswiki.net/doryphore/extension-loginldap-$loginldap_version.zip.md5 + wget https://repository.yeswiki.net/doryphore/extension-loginldap-$loginldap_version.zip 2>&1 + wget https://repository.yeswiki.net/doryphore/extension-loginldap-$loginldap_version.zip.md5 2>&1 md5sum -c extension-loginldap-$loginldap_version.zip.md5 || ynh_die "Checksum for LDAP plugin does not match" unzip -o extension-loginldap-$loginldap_version.zip -d $final_path/tools