diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-02-14 18:43:11 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-02-14 18:43:11 +0100 |
commit | ccc552ef115d3d7fcd5f92121ba9838e9b199361 (patch) | |
tree | 4c19a593970c17766518a263e67d6f5e48e9f2b7 /src/core/libs/lib-pacman.sh | |
parent | 9e895707d72b600ab722337c7b26ce226675c11c (diff) |
port of FS#12944 - Pacman mirrorlist installer edits
Diffstat (limited to 'src/core/libs/lib-pacman.sh')
-rw-r--r-- | src/core/libs/lib-pacman.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-pacman.sh b/src/core/libs/lib-pacman.sh index 89c3638..4497074 100644 --- a/src/core/libs/lib-pacman.sh +++ b/src/core/libs/lib-pacman.sh @@ -78,7 +78,7 @@ do then add_pacman_repo target ${repo} "Include = $var_MIRRORLIST" else - add_pacman_repo target ${repo} "Server = ${serverurl}" + add_pacman_repo target ${repo} "Server = ${serverurl/\/\$repo\//\/$repo\/}" # replace literal '/$repo/' in the serverurl string by "/$repo/" where $repo is our variable. fi done # Set up the necessary directories for pacman use |