summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-02-18 22:19:01 +0000
committerMichael Scherer <misc@mageia.org>2012-02-18 22:19:01 +0000
commit05662b56b2cfd42ece7a275951ddee4dd114ed16 (patch)
tree1b7eb90915da97b98a51248dc56908fff5aff11c
parent7b6fb9d3de6397d23095c12c319752bb66d17b54 (diff)
downloadurpmi-05662b56b2cfd42ece7a275951ddee4dd114ed16.tar
urpmi-05662b56b2cfd42ece7a275951ddee4dd114ed16.tar.gz
urpmi-05662b56b2cfd42ece7a275951ddee4dd114ed16.tar.bz2
urpmi-05662b56b2cfd42ece7a275951ddee4dd114ed16.tar.xz
urpmi-05662b56b2cfd42ece7a275951ddee4dd114ed16.zip
fix the detection of cauldron, we are not using the cooker name anymore
-rw-r--r--urpm/cfg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/cfg.pm b/urpm/cfg.pm
index c5a964d2..38b88db2 100644
--- a/urpm/cfg.pm
+++ b/urpm/cfg.pm
@@ -54,8 +54,8 @@ my ($arch, $release);
sub _init_arch_release () {
if (!$arch && !$release) {
my $l = cat_('/etc/release') or return undef;
- $release = 'cooker' if $l =~ /cooker/i;
($release, $arch) = $l =~ /release (\d+\.?\d?).*for (\w+)/;
+ $release = 'cauldron' if $l =~ /cauldron/i;
}
1;
}