Browse Source

Merge pull request #97 from YunoHost-Apps/testing

Testing
ljf (zamentur) 3 years ago
parent
commit
e1a4ec3460
4 changed files with 4 additions and 4 deletions
  1. 1 1
      README.md
  2. 1 1
      README_fr.md
  3. 1 1
      manifest.json
  4. 1 1
      scripts/config

+ 1 - 1
README.md

@@ -24,7 +24,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
 
 
 
 
 
 
-**Shipped version:** 2.0.1~ynh6
+**Shipped version:** 2.0.1~ynh7
 
 
 
 
 
 

+ 1 - 1
README_fr.md

@@ -20,7 +20,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
 
 
 
 
 
 
-**Version incluse :** 2.0.1~ynh6
+**Version incluse :** 2.0.1~ynh7
 
 
 
 
 
 

+ 1 - 1
manifest.json

@@ -6,7 +6,7 @@
     "en": "Tunnel the internet traffic through a VPN",
     "en": "Tunnel the internet traffic through a VPN",
     "fr": "Fait passer le trafic internet à travers un VPN"
     "fr": "Fait passer le trafic internet à travers un VPN"
   },
   },
-  "version": "2.0.1~ynh6",
+  "version": "2.0.1~ynh7",
   "url": "https://labriqueinter.net",
   "url": "https://labriqueinter.net",
   "license": "AGPL-3.0",
   "license": "AGPL-3.0",
   "maintainer": {
   "maintainer": {

+ 1 - 1
scripts/config

@@ -320,7 +320,7 @@ ynh_app_config_validate() {
         sed -i 's@^\s*ca\s.*$@ca /etc/openvpn/keys/ca-server.crt@g' ${config_file}
         sed -i 's@^\s*ca\s.*$@ca /etc/openvpn/keys/ca-server.crt@g' ${config_file}
         sed -i 's@^\s*cert\s.*$@cert /etc/openvpn/keys/user.crt@g' ${config_file}
         sed -i 's@^\s*cert\s.*$@cert /etc/openvpn/keys/user.crt@g' ${config_file}
         sed -i 's@^\s*key\s.*$@key /etc/openvpn/keys/user.key@g' ${config_file}
         sed -i 's@^\s*key\s.*$@key /etc/openvpn/keys/user.key@g' ${config_file}
-        sed -i 's@^\s*tls-auth\s.*$@tls-auth /etc/openvpn/keys/user-ta.key@g' ${config_file}
+        sed -i 's@^\s*tls-auth\s.*$@tls-auth /etc/openvpn/keys/user_ta.key 1@g' ${config_file}
     fi
     fi
 
 
     # Currently we need root priviledge to create tun0
     # Currently we need root priviledge to create tun0