summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-03-16 14:24:25 +0000
committerDaouda Lo <daouda@mandriva.com>2005-03-16 14:24:25 +0000
commit39d4cb99f8f90a5c50fdd5481228a96bd51b02bd (patch)
treee5396a49ee8cb9cbeadaebc89a9eef472490e3eb
parentecd949a7cbad2347f200713627727103d85fae1f (diff)
downloadmgaonline-39d4cb99f8f90a5c50fdd5481228a96bd51b02bd.tar
mgaonline-39d4cb99f8f90a5c50fdd5481228a96bd51b02bd.tar.gz
mgaonline-39d4cb99f8f90a5c50fdd5481228a96bd51b02bd.tar.bz2
mgaonline-39d4cb99f8f90a5c50fdd5481228a96bd51b02bd.tar.xz
mgaonline-39d4cb99f8f90a5c50fdd5481228a96bd51b02bd.zip
- change the delimiter as perl checker doesn't like '#' (perl_checker sucks)
-rwxr-xr-xmdkupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkupdate b/mdkupdate
index 6998329d..e8f61e35 100755
--- a/mdkupdate
+++ b/mdkupdate
@@ -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";