listen to skipBackup upgrade option

This commit is contained in:
Graham Knop 2010-09-02 13:43:16 -05:00
parent c59fc0f361
commit cacaabe623

View file

@ -244,7 +244,9 @@ sub upgradeSite {
for my $step ( @steps ) {
$i++;
print "Running upgrades for $step (step $i/@{[ scalar @steps ]}):\n";
$self->createBackup($configFile);
if ($self->createBackups) {
$self->createBackup($configFile);
}
$self->runUpgradeStep($configFile, $step);
}
}