1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mastodon_ynh.git synced 2024-09-03 19:46:02 +02:00

There's a stupid super weird bug if there's no quote here (though that's fixed in 3.8 I think ...)

This commit is contained in:
Alexandre Aubin 2020-05-16 18:47:54 +02:00 committed by GitHub
parent 6b30109fc9
commit 671802fdbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ]