aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/filesystem
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-10-28 10:02:53 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-10-28 10:02:53 +0100
commit0682e5719d55a10485050dc1fc7561c32e6b3fb8 (patch)
tree808fe81e37131b4414bd91abf8593c5adc82ad6c /phpBB/phpbb/filesystem
parentb9c08cddd47b39355458e828d847c34ab0e8c378 (diff)
parent679559ce180ec5210edb3a019e9ca862d7fddf4e (diff)
downloadforums-0682e5719d55a10485050dc1fc7561c32e6b3fb8.tar
forums-0682e5719d55a10485050dc1fc7561c32e6b3fb8.tar.gz
forums-0682e5719d55a10485050dc1fc7561c32e6b3fb8.tar.bz2
forums-0682e5719d55a10485050dc1fc7561c32e6b3fb8.tar.xz
forums-0682e5719d55a10485050dc1fc7561c32e6b3fb8.zip
Merge branch 'prep-release-3.1.0' into develop-ascraeus
Diffstat (limited to 'phpBB/phpbb/filesystem')
0 files changed, 0 insertions, 0 deletions
#n26'>26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
package steps;

use strict;
use vars qw(%installSteps @orderedInstallSteps);
use common;

#-######################################################################################
#- Steps table
#-######################################################################################
{
    my @installStepsFields = qw(text redoable onError hidden needs icon); 
    #entered reachable toBeDone next done;
    my @installSteps = (
  selectLanguage     => [ N_("Choose your language"), 1, 1, '', '', 'language' ],
  selectInstallClass => [ N_("Select installation class"), 1, 1, '', '', '' ],
  setupSCSI          => [ N_("Hard drive detection"), 1, 0, '', '', 'harddrive' ],
  selectMouse        => [ N_("Configure mouse"), 1, 1, '', "selectInstallClass", 'mouse' ],
  selectKeyboard     => [ N_("Choose your keyboard"), 1, 1, '', "selectInstallClass", 'keyboard' ],
  miscellaneous      => [ N_("Security"), 1, 1, '!$::expert', '', 'security' ],
  doPartitionDisks   => [ N_("Setup filesystems"), 1, 0, '', "selectInstallClass", 'partition' ],
  formatPartitions   => [ N_("Format partitions"), 1, -1, '$o->{isUpgrade}', "doPartitionDisks", 'partition' ],
  choosePackages     => [ N_("Choose packages to install"), 1, -2, '!$::expert', "formatPartitions", 'partition' ],
  installPackages    => [ N_("Install system"), 1, -1, '', ["formatPartitions", "selectInstallClass"], '' ],
  setRootPassword    => [ N_("Set root password"), 1, 1, '', "installPackages", 'rootpasswd' ],
  addUser            => [ N_("Add a user"), 1, 1, '', "installPackages", 'user' ],
  configureNetwork   => [ N_("Configure networking"), 1, 1, '', "formatPartitions", 'network' ],
  summary            => [ N_("Summary"), 1, 0, '', "installPackages", 'summary' ],
  configureServices  => [ N_("Configure services"), 1, 1, '!$::expert', "installPackages", 'services' ],
  setupBootloader    => [ N_("Install bootloader"), 1, 0, '', "installPackages", 'bootloader' ],
if_(arch() !~ /alpha/ && arch() !~ /ppc/,
  createBootdisk     => [ N_("Create a bootdisk"), 1, 0, '', "installPackages", 'bootdisk' ],
),
  configureX         => [ N_("Configure X"), 1, 1, '', ["formatPartitions", "setupBootloader"], 'X' ],
  installUpdates     => [ N_("Install system updates"), 1, 1, '',  ["installPackages", "configureNetwork", "summary"], '' ],
  exitInstall        => [ N_("Exit install"), 0, 0, '!$::expert && !$::live', '', 'exit' ],
);
    for (my $i = 0; $i < @installSteps; $i += 2) {
	my %h; @h{@installStepsFields} = @{ $installSteps[$i + 1] };
	$h{next}    = $installSteps[$i + 2];
	$h{entered} = 0;
	$h{onError} = $installSteps[$i + 2 * $h{onError}];
	$h{reachable} = !$h{needs};
	$installSteps{$installSteps[$i]} = \%h;
	push @orderedInstallSteps, $installSteps[$i];
    }
    $installSteps{first} = $installSteps[0];
}


1;