When using a .cube with some line in openvpn_rm section (to remove unneeded openvpn config lines from the default template), the install fails on a sed error.
YunoHost version: 4.3.2.2 (stable)
vpnclient version: 2.0~ynh1
To reproduce: add an openvpn_rm section to your .cube and try to install it.
When using a .cube with some line in openvpn_rm section (to remove unneeded openvpn config lines from the default template), the install fails on a sed error.
To reproduce: add an
openvpn_rm
section to your .cube and try to install it.Result:
It seems to be a typo in the config script: https://github.com/YunoHost-Apps/vpnclient_ynh/blob/testing/scripts/config#L250
We probably need to remove the ending "i"
sed -i "/$rm_regex/d" $tmp_dir/client.conf.tpl