From 1d2e29a6695c00d0b198e6f6b70ce730d5416c96 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 1 Mar 2021 10:19:46 +0100 Subject: [PATCH] Make curl silent --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 3f73995..399fddb 100755 --- a/scripts/install +++ b/scripts/install @@ -123,7 +123,7 @@ ynh_system_user_create --username=$app #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 -public_ip4="$(curl ip.yunohost.org)" || true +public_ip4="$(curl -s ip.yunohost.org)" || true ynh_replace_string --match_string="__IPV4__" --replace_string="$public_ip4" --target_file="../conf/systemd.service" diff --git a/scripts/upgrade b/scripts/upgrade index 4aa87ef..4da8ca9 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -126,7 +126,7 @@ ynh_system_user_create --username=$app #================================================= ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 -public_ip4="$(curl ip.yunohost.org)" || true +public_ip4="$(curl -s ip.yunohost.org)" || true ynh_replace_string --match_string="__IPV4__" --replace_string="$public_ip4" --target_file="../conf/systemd.service"