From 7d3f8bedc3a13599d14cf0e36510bfc3c1321cbd Mon Sep 17 00:00:00 2001 From: keoma Date: Sat, 9 Feb 2019 13:35:46 +0100 Subject: [PATCH] replace yunohost app setting by helper --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index a504e0b..e1f62d5 100644 --- a/scripts/install +++ b/scripts/install @@ -150,8 +150,8 @@ if [[ ! -v ip6_net ]]; then # if ip6_net not set ip6_addr=none if [[ -e /tmp/.ynh-vpnclient-started ]]; then - vpnclient_ip6_net=$(sudo yunohost app setting vpnclient ip6_net 2>&1) - vpnclient_ip6_addr=$(sudo yunohost app setting vpnclient ip6_addr 2>&1) + vpnclient_ip6_net=$(sudo ynh_app_setting_set vpnclient ip6_net 2>&1) + vpnclient_ip6_addr=$(sudo ynh_app_setting_set vpnclient ip6_addr 2>&1) if [[ $vpnclient_ip6_net =~ :: && $vpnclient_ip6_addr =~ :: ]]; then ip6_net=${vpnclient_ip6_net}