From 05662b56b2cfd42ece7a275951ddee4dd114ed16 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 18 Feb 2012 22:19:01 +0000 Subject: fix the detection of cauldron, we are not using the cooker name anymore --- urpm/cfg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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; } -- cgit v1.2.1