Patch, this time inline: ---------------
From 130488d0fbd867cafe327d6d21c8554dcc8a81d1 Mon Sep 17 00:00:00 2001 From: Gerhard Brauer <gerbra@archlinux.de> Date: Sun, 1 Mar 2009 20:31:36 +0100 Subject: [PATCH 1/2] Fix URL parsing for core repo
Old code places backslashes into the URL, so the core.db.tar.gz could not fetched from the mirror when using ftp install. Signed-off-by: Gerhard Brauer <gerbra@archlinux.de> --- 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..35016ad 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 -- 1.6.1.3