diff options
author | Daouda Lo <daouda@mandriva.com> | 2005-03-15 16:19:36 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2005-03-15 16:19:36 +0000 |
commit | 5bad4679e5f092b3aff960a2b2ea30c16133d0a1 (patch) | |
tree | ca74842cbf76d4a0a5298711f2063c1283f0ccd1 | |
parent | 9dbfbb887194522993e669e969bafa36d891b3c6 (diff) | |
download | mgaonline-5bad4679e5f092b3aff960a2b2ea30c16133d0a1.tar mgaonline-5bad4679e5f092b3aff960a2b2ea30c16133d0a1.tar.gz mgaonline-5bad4679e5f092b3aff960a2b2ea30c16133d0a1.tar.bz2 mgaonline-5bad4679e5f092b3aff960a2b2ea30c16133d0a1.tar.xz mgaonline-5bad4679e5f092b3aff960a2b2ea30c16133d0a1.zip |
- choose another delimiter for regex
-rwxr-xr-x | mdkupdate | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -243,7 +243,7 @@ sub add_media { #sometimes server returns the full link http:// or ftp:// ($is_x8664) = $da->{arch} =~ /(x86_64)/; $dist_name = $da->{name}; - my $fullpath2mir = if_($mirror !~ m!^(?:http|ftp)://! , "ftp://") . $mirror . if_($is_x8664, "/$is_x8664") . if_($dist_name, "/$dist_name") . "/$r" . $path2new_arch; + my $fullpath2mir = if_($mirror !~ m#^(?:http|ftp)://# , "ftp://") . $mirror . if_($is_x8664, "/$is_x8664") . if_($dist_name, "/$dist_name") . "/$r" . $path2new_arch; eval { #Remove historical mdkupdate source -f $media_varfile and system "/usr/sbin/urpmi.removemedia", "mdkupdate"; |