summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-13 20:17:09 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-13 20:17:09 +0000
commitd367da67e1d5651e63600a5acd898d7411399466 (patch)
treebdb582ac4a59e74bc0256fda79c869c33d2249b4 /perl-install/install2.pm
parente450c9091c60258f078a69be0076a23631274217 (diff)
downloaddrakx-backup-do-not-use-d367da67e1d5651e63600a5acd898d7411399466.tar
drakx-backup-do-not-use-d367da67e1d5651e63600a5acd898d7411399466.tar.gz
drakx-backup-do-not-use-d367da67e1d5651e63600a5acd898d7411399466.tar.bz2
drakx-backup-do-not-use-d367da67e1d5651e63600a5acd898d7411399466.tar.xz
drakx-backup-do-not-use-d367da67e1d5651e63600a5acd898d7411399466.zip
- add option 'theme' to allow specifying a theme
- add option 'doc' to specify that we should override the default theme with values well suited for printing screenshots on a B&W printer
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 2e3ae9426..daae846a8 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -393,6 +393,9 @@ sub main {
uml_install => sub { $::uml_install = 1 },
auto_install => sub { $::auto_install = $v },
simple_themes => sub { $o->{simple_themes} = 1 },
+ theme => sub { $o->{theme} = $v },
+ doc => sub { $o->{doc} = 1 }, #- will be used to know that we're running for the doc team,
+ #- e.g. we want screenshots with a good B&W contrast
useless_thing_accepted => sub { $o->{useless_thing_accepted} = 1 },
alawindows => sub { $o->{security} = 0; $o->{partitioning}{clearall} = 1; $o->{bootloader}{crushMbr} = 1 },
fdisk => sub { $o->{partitioning}{fdisk} = 1 },