From 924208331c9eea1071911a93fc96977e5f28d8d5 Mon Sep 17 00:00:00 2001 From: Florent Villard Date: Fri, 27 Feb 2004 17:34:06 +0000 Subject: add distro_type variable to select correct updates mirror type --- perl-install/install2.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/install2.pm') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 900aab616..b99c0e0ad 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -570,6 +570,8 @@ sub main { $o->{meta_class} = 'download' if $VERSION =~ /download/i; $o->{meta_class} = 'firewall' if $VERSION =~ /firewall/i; $o->{meta_class} = 'server' if $VERSION =~ /server|prosuite/i; + $o->{distro_type} = 'community' if $VERSION =~ /community/i; + $o->{distro_type} = 'cooker' if $VERSION =~ /cooker/i; } $o->{meta_class} eq 'discovery' and $o->{meta_class} = 'desktop'; if ($::oem) { -- cgit v1.2.1