aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-05 10:28:24 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-05 10:28:24 +0000
commit3e8f1a64464a5d753996fe1e49f035233b205e5b (patch)
treeb3a0fd2e27e6007d41ab08e8b7bc11e4f152fa44 /rpmdrake.pm
parent2bc913badf646a9e3ecd7f7b17b78bd46ebb47a3 (diff)
downloadrpmdrake-3e8f1a64464a5d753996fe1e49f035233b205e5b.tar
rpmdrake-3e8f1a64464a5d753996fe1e49f035233b205e5b.tar.gz
rpmdrake-3e8f1a64464a5d753996fe1e49f035233b205e5b.tar.bz2
rpmdrake-3e8f1a64464a5d753996fe1e49f035233b205e5b.tar.xz
rpmdrake-3e8f1a64464a5d753996fe1e49f035233b205e5b.zip
Spurious traces.
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index bc8e696b..da638012 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -364,7 +364,6 @@ sub compat_arch_for_updates($) {
sub mirrors {
my ($cachedir) = @_;
my $distro_type = distro_type();
- warn "distro_type=$distro_type\n";
$cachedir = '/root';
my $mirrorslist = "$cachedir/mirrorsfull.list";
unlink $mirrorslist;
@@ -457,12 +456,10 @@ sub make_url_mirror {
my ($mirror) = @_;
if ($mirror =~ m!/(?:RPMS|media/main)\Z!) {
#- esp. for distro_type() =~ /cooker|community/
- warn "m=$mirror/";
"$mirror/";
} else {
my ($class, $release) = $mandrake_release =~ /(\S+)\s+release\s+(\S+)/;
$class !~ /linux/i and $release = lc($class) . "/$release"; #- handle subdirectory for corporate/clustering/etc
- warn "m=$mirror/$release/main_updates/";
"$mirror/$release/main_updates/";
}
}