summaryrefslogtreecommitdiffstats
path: root/live/One/2006.0/patches/rpmdrake.base.patch
blob: 3122d8f2ffd7d0353c92b7cacec41e27acbec0db (plain)
1
2
3
4
5
6
7
8
9
10
11
--- usr/lib/perl5/vendor_perl/5.8.7/rpmdrake.pm.base    2005-09-12 06:09:30.000000000 -0400
+++ usr/lib/perl5/vendor_perl/5.8.7/rpmdrake.pm 2006-02-27 11:08:58.000000000 -0500
@@ -456,7 +456,7 @@
     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';
+    return $want_base_distro || $v =~ /\.0$/ ? 'community' : 'updates';
 }
 
 sub compat_arch_for_updates($) {