diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-03-01 21:19:50 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-03-01 21:19:50 +0100 |
commit | 3bae4b8c3c88b6a42c1ee14267648f47ddbcd989 (patch) | |
tree | cb678729a98f82fbfe1e503e48f35883102971fb | |
parent | 834f29c9e46211b9f72ab92a7bcdc0693b5b0883 (diff) |
fix for incorrect string replacement in repository adress for pacman repos. props to Gerhard B.
-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 4497074..2fc7663 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/\/\$repo\//\/$repo\/}" # replace literal '/$repo/' in the serverurl string by "/$repo/" where $repo is our variable. + 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 |