From 671802fdbf51004ff32a413fe43da9efbd14a654 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 16 May 2020 18:47:54 +0200 Subject: [PATCH] There's a stupid super weird bug if there's no quote here (though that's fixed in 3.8 I think ...) --- scripts/ynh_add_extra_apt_repos__3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ynh_add_extra_apt_repos__3 b/scripts/ynh_add_extra_apt_repos__3 index 3276f00..66e8fa7 100644 --- a/scripts/ynh_add_extra_apt_repos__3 +++ b/scripts/ynh_add_extra_apt_repos__3 @@ -128,7 +128,7 @@ ynh_install_extra_repo () { local component="${repo##$uri $suite }" # Add the repository into sources.list.d - ynh_add_repo --uri="$uri" --suite="$suite" --component="$component" --name="$name" $append + ynh_add_repo --uri="$uri" --suite="$suite" --component="$component" --name="$name" "$append" # Pin the new repo with the default priority, so it won't be used for upgrades. # Build $pin from the uri without http and any sub path @@ -139,7 +139,7 @@ ynh_install_extra_repo () { then priority="--priority=$priority" fi - ynh_pin_repo --package="*" --pin="origin \"$pin\"" $priority --name="$name" $append + ynh_pin_repo --package="*" --pin="origin \"$pin\"" $priority --name="$name" "$append" # Get the public key for the repo if [ -n "$key" ]