1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yeswiki_ynh.git synced 2024-09-03 18:05:56 +02:00

Redirect wget stderr to stdout

This commit is contained in:
Nils VAN ZUIJLEN 2021-03-25 09:51:24 +01:00
parent 1ef3638e00
commit e3bb7ec10d
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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