|
@@ -198,6 +198,8 @@ ynh_app_config_validate() {
|
|
|
|
|
|
cube_file="$tmp_dir/client.cube"
|
|
|
cp -f "$config_file" "$cube_file"
|
|
|
+ # We copy the config template because it will be modified later
|
|
|
+ cp -f "/etc/yunohost/apps/vpnclient/conf/openvpn_client.conf.tpl" "$tmp_dir/client.conf.tpl"
|
|
|
|
|
|
convert_cube_file "$config_file"
|
|
|
# Othewise, assume that it's a .ovpn / .conf
|