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

Need quotes here (same issue as Mastodon)

This commit is contained in:
Alexandre Aubin 2020-05-16 18:55:49 +02:00 committed by GitHub
parent 6b77f268d4
commit 7defc9c4d4
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" ]