summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-26 12:13:44 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-26 12:13:44 +0000
commit5c6087042343084e25256fd20af00097379c9db4 (patch)
treeab24070801f93271884267b703f8fb0955653b8c
parent305d63482ff4bcc26fa6e621103fb1626abee63f (diff)
downloaddrakx-5c6087042343084e25256fd20af00097379c9db4.tar
drakx-5c6087042343084e25256fd20af00097379c9db4.tar.gz
drakx-5c6087042343084e25256fd20af00097379c9db4.tar.bz2
drakx-5c6087042343084e25256fd20af00097379c9db4.tar.xz
drakx-5c6087042343084e25256fd20af00097379c9db4.zip
added corporate global flag.
-rw-r--r--perl-install/install2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index c6ca5a9a6..e273cefae 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -546,6 +546,7 @@ sub main {
$o->{allowFB} = listlength(cat_("/proc/fb"));
my $VERSION = cat__(install_any::getFile("VERSION")) or do { print "VERSION file missing\n"; sleep 5 };
+ $::corporate = 1 if $VERSION =~ /corporate/i;
$o->{meta_class} = 'desktop' if $VERSION =~ /desktop/i;
$o->{meta_class} = 'firewall' if $VERSION =~ /firewall/i;
$o->{meta_class} = 'server' if $VERSION =~ /server/i;