Parcourir la source

replace yunohost app setting by helper

keoma il y a 6 ans
Parent
commit
7d3f8bedc3
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      scripts/install

+ 2 - 2
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}