From 2396d005809d9d6c5ebd8f3dfdb433a0e5cf9db2 Mon Sep 17 00:00:00 2001 From: Jose Riha Date: Sun, 15 Oct 2023 23:49:17 +0200 Subject: [PATCH 1/3] Don't backup same file twice Fixes #70 --- scripts/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backup b/scripts/backup index 05345fe..594badb 100644 --- a/scripts/backup +++ b/scripts/backup @@ -45,7 +45,7 @@ ynh_backup --src_path=/etc/systemd/system/wireguard@.service ynh_backup --src_path="/etc/wireguard" # Backing up specific config file, in case of it is not in /etc/wireguard -ynh_backup --src_path="$(jq -r ".config_file_path" $install_dir/db/server/global_settings.json)" --not_mandatory +ynh_backup --src_path="$(jq -r 'select(.config_file_path | startswith("/etc/wireguard/") | not) | .config_file_path' $install_dir/db/server/global_settings.json)" --not_mandatory # Backup the sysctl config file to enable port forwarding ynh_backup --src_path="/etc/sysctl.d/$app.conf" From 8cc34c001ea8ebd791054f6b1b9f79af70ef7293 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Wed, 18 Oct 2023 21:54:49 +0200 Subject: [PATCH 2/3] Bump package version --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 8021390..451d850 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "WireGuard" description.en = "Fast and modern VPN server, including a configuration webapp" description.fr = "Serveur VPN rapide et moderne, incluant une webapp pour le configurer" -version = "0.5.2~ynh1" +version = "0.5.2~ynh2" maintainers = ["tituspijean"] From d1c955ed5fcd275514c42849752a7dfacbf54447 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 18 Oct 2023 19:54:52 +0000 Subject: [PATCH 3/3] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c69820b..18fb747 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in WireGuard® is fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN. -**Shipped version:** 0.5.2~ynh1 +**Shipped version:** 0.5.2~ynh2 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 0d7bce4..9b9fa29 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po WireGuard® est un VPN rapide et moderne qui utilise une cryptographie de pointe. Il vise à être plus rapide, plus simple, plus léger et plus utile qu'IPsec. Il a l'intention d'être considérablement plus performant qu'OpenVPN. WireGuard est conçu comme un VPN à usage général. -**Version incluse :** 0.5.2~ynh1 +**Version incluse :** 0.5.2~ynh2 ## Captures d’écran