1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00

fix: add --priority= on ynh_pin_repo call

This commit is contained in:
tytan652 2020-12-23 17:13:58 +01:00 committed by tituspijean
parent 44a050d71c
commit 9726a65f3e
3 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=7
ynh_add_repo --uri="http://deb.debian.org/debian" --suite="buster-backports" --component="main" --name="$app" 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 package
ynh_pin_repo --package="wireguard*" --pin="origin deb http://deb.debian.org/debian buster-backports main" 995 --name="$app" 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 # Update the list of package with the new repo
ynh_package_update ynh_package_update

View file

@ -90,7 +90,7 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=5
ynh_add_repo --uri="http://deb.debian.org/debian" --suite="buster-backports" --component="main" --name="$app" 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 package
ynh_pin_repo --package="wireguard*" --pin="origin deb http://deb.debian.org/debian buster-backports main" 995 --name="$app" 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 # Update the list of package with the new repo
ynh_package_update ynh_package_update

View file

@ -110,7 +110,7 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=7
ynh_add_repo --uri="http://deb.debian.org/debian" --suite="buster-backports" --component="main" --name="$app" 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 package
ynh_pin_repo --package="wireguard*" --pin="origin deb http://deb.debian.org/debian buster-backports main" 995 --name="$app" 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 # Update the list of package with the new repo
ynh_package_update ynh_package_update