diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-04-21 09:47:47 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-04-21 09:47:47 +0000 |
commit | d9e751984cdd80f729566e87c96944b7f8280401 (patch) | |
tree | 0fefe48c60322bd32587510d257d7cfd22b692f6 /rpmdrake.pm | |
parent | dcc7a1aac8571005c274da876b8931928925d4eb (diff) | |
download | rpmdrake-d9e751984cdd80f729566e87c96944b7f8280401.tar rpmdrake-d9e751984cdd80f729566e87c96944b7f8280401.tar.gz rpmdrake-d9e751984cdd80f729566e87c96944b7f8280401.tar.bz2 rpmdrake-d9e751984cdd80f729566e87c96944b7f8280401.tar.xz rpmdrake-d9e751984cdd80f729566e87c96944b7f8280401.zip |
Limited is the new community
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 55696b44..5c87a5dc 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -385,7 +385,7 @@ sub distro_type { my ($want_base_distro) = @_; return 'cooker' if $mandrake_release =~ /cooker/i; return 'official' if $want_base_distro && $mandrake_release =~ /official/i; - return 'updates' if $mandrake_release !~ /community/i; + return 'updates' if $mandrake_release !~ /community|limited/i; (my $v) = split / /, cat_('/etc/version'); return $v =~ /\.0$/ ? 'community' : 'updates'; } @@ -523,7 +523,6 @@ by Mandrakelinux Official Updates.") sub make_url_mirror { my ($mirror) = @_; if ($mirror =~ m!/(?:RPMS|media/main)/?\Z!) { - #- esp. for distro_type() =~ /cooker|community/ "$mirror/"; } else { my ($class, $release) = $mandrake_release =~ /(\S+)\s+release\s+(\S+)/; |