mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Make curl silent
This commit is contained in:
parent
a50443cd8d
commit
1d2e29a669
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue