aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-21 10:14:17 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-21 10:14:17 +0000
commite20d5f797ca059c14f944f4d6d95b6d3cd98391d (patch)
treeea40179863e77f8bf69ff864012d35802593c676 /rpmdrake.pm
parentd9e751984cdd80f729566e87c96944b7f8280401 (diff)
downloadrpmdrake-e20d5f797ca059c14f944f4d6d95b6d3cd98391d.tar
rpmdrake-e20d5f797ca059c14f944f4d6d95b6d3cd98391d.tar.gz
rpmdrake-e20d5f797ca059c14f944f4d6d95b6d3cd98391d.tar.bz2
rpmdrake-e20d5f797ca059c14f944f4d6d95b6d3cd98391d.tar.xz
rpmdrake-e20d5f797ca059c14f944f4d6d95b6d3cd98391d.zip
in fact, limited is official.
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 5c87a5dc..19b2e750 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -384,8 +384,8 @@ my %sites2countries = (
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|limited/i;
+ return 'official' if $want_base_distro && $mandrake_release =~ /official|limited/i;
+ return 'updates' if $mandrake_release !~ /community/i;
(my $v) = split / /, cat_('/etc/version');
return $v =~ /\.0$/ ? 'community' : 'updates';
}