diff --git a/scripts/install b/scripts/install index 3ad0c4e..9153162 100755 --- a/scripts/install +++ b/scripts/install @@ -28,11 +28,10 @@ chmod +x $install_dir/smp-server pushd "$install_dir" public_ip4="$(curl -s ip.yunohost.org)" || true public_ip6="$(curl -s ipv6.yunohost.org)" || true - #ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4 if ( [[ -n "$public_ip4" ]] && ynh_validate_ip4 --ip_address="$public_ip4" || [[ -n "$public_ip6" ]] && ynh_validate_ip6 --ip_address="$public_ip6" ) - then - echo "external-ip=${public_ip4}/${public_ip6}" + then + external-ip=${public_ip4}/${public_ip6} fi ./smp-server init --no-password --ip $external-ip -y