aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
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';
}