From 3bae4b8c3c88b6a42c1ee14267648f47ddbcd989 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 1 Mar 2009 21:19:50 +0100 Subject: fix for incorrect string replacement in repository adress for pacman repos. props to Gerhard B. --- src/core/libs/lib-pacman.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/libs/lib-pacman.sh') 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 -- cgit v1.2.3-54-g00ecf