diff --git a/README.md b/README.md index 7c8e144..ef2bccc 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,9 @@ *[Lire ce readme en français.](./README_fr.md)* -:warning: This app is still experimental. WireGuard requires upgrading your Linux kernel to another major version. Check its compatibility before running it on a production system. :warning: +:warning: This app is still experimental. Check its compatibility before running it on a production system. :warning: + +:exclamation: WireGuard for YunoHost will add a DMKS module to your Linux kernel. > *This package allows you to install WireGuard quickly and simply on a YunoHost server. If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* diff --git a/README_fr.md b/README_fr.md index 4b3ba84..546c13a 100644 --- a/README_fr.md +++ b/README_fr.md @@ -5,7 +5,9 @@ *[Read this readme in english.](./README.md)* -:warning: Cette app est encore expérimentale. WireGuard requiert de mettre à niveau votre noyau Linux. Vérifiez sa compatibilté avant de lancer l'installation sur un serveur de production. :warning: +:warning: Cette app est encore expérimentale. Vérifiez sa compatibilté avant de lancer l'installation sur un serveur de production. :warning: + +:exclamation: WireGuard pour YunoHost ajoutera un module DKMS à votre noyau Linux. > *Ce package vous permet d'installer WireGuard rapidement et simplement sur un serveur YunoHost. Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install) pour apprendre comment l'installer.* diff --git a/scripts/install b/scripts/install index 7f60ec7..2b3d54a 100644 --- a/scripts/install +++ b/scripts/install @@ -78,7 +78,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=7 #Add buster-backports repo ynh_add_repo --uri="http://deb.debian.org/debian" --suite="buster-backports" --component="main" --name="$app" -#Add pin-priority for wireguard package +#Add pin-priority for wireguard packages ynh_pin_repo --package="wireguard*" --pin="origin deb http://deb.debian.org/debian buster-backports main" --priority=995 --name="$app" # Update the list of package with the new repo diff --git a/scripts/restore b/scripts/restore index fef3b92..7338b94 100644 --- a/scripts/restore +++ b/scripts/restore @@ -89,7 +89,7 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=5 #Add buster-backports repo ynh_add_repo --uri="http://deb.debian.org/debian" --suite="buster-backports" --component="main" --name="$app" -#Add pin-priority for wireguard package +#Add pin-priority for wireguard packages ynh_pin_repo --package="wireguard*" --pin="origin deb http://deb.debian.org/debian buster-backports main" --priority=995 --name="$app" # Update the list of package with the new repo diff --git a/scripts/upgrade b/scripts/upgrade index 854e0f7..7d806c3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -59,7 +59,7 @@ arch=$(ynh_detect_arch) linuximage_version=$(ynh_package_version --package=linux-image-$arch) if [[ $linuximage_version == *"bpo10"* ]] then - # Downgrading using ynh_package_install (exploded) without "--no-remove" + # Downgrading using ynh_package_install apt command without "--no-remove" and with "--allow-downgrades" # It will remove wireguard-ynh-deps and wireguard but they will be reinstalled throught upgrade process ynh_apt --allow-downgrades --option Dpkg::Options::=--force-confdef \ --option Dpkg::Options::=--force-confold install linux-image-$arch/stable