summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-01-28 11:28:27 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-01-28 11:28:27 +0000
commitc3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7 (patch)
tree133b50c2d42dbe7927709d4848c11209a038f34e /perl-install
parentf2929b6fd89ca52a12b18d154d3a5b44c40c4e9a (diff)
downloaddrakx-backup-do-not-use-c3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7.tar
drakx-backup-do-not-use-c3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7.tar.gz
drakx-backup-do-not-use-c3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7.tar.bz2
drakx-backup-do-not-use-c3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7.tar.xz
drakx-backup-do-not-use-c3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7.zip
make --force force harddrake to eeconfigure everything
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/service_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index a1eb5a19f..3ceb9facc 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -96,7 +96,7 @@ foreach my $hw_class (@harddrake::data::tree) {
$config{$Ident} = \%ID;
next if !$is_globetrotter && !$force && is_empty_hash_ref($previous_config); # do not fsck on first run but if --force
- my $oldconfig = $previous_config->{$Ident};
+ my $oldconfig = $force ? {} : $previous_config->{$Ident};
my $msg;
my @was_removed = difference2([ keys %$oldconfig ], [ keys %ID ]);