[arch-releng] AIF [PATCH 1/2] Fix URL parsing for core repo

Grigorios Bouzakis grbzks at gmail.com
Mon Mar 2 03:24:21 EST 2009


On Sun, Mar 01, 2009 at 09:24:22PM +0100, Gerhard Brauer wrote:
> Dieter, have you seen the attachements (git patches) on both of my
> mails? In sent folder the have the attachements, but my mails getting on
> the ML i don#t see the attached files...
> 

I see the patch just fine here:

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

-- 
Greg


More information about the arch-releng mailing list