diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-01-28 11:28:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-01-28 11:28:27 +0000 |
commit | c3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7 (patch) | |
tree | 133b50c2d42dbe7927709d4848c11209a038f34e | |
parent | f2929b6fd89ca52a12b18d154d3a5b44c40c4e9a (diff) | |
download | drakx-c3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7.tar drakx-c3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7.tar.gz drakx-c3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7.tar.bz2 drakx-c3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7.tar.xz drakx-c3d33608fe0e5aee34a677ba6f6d1a3e2cc044a7.zip |
make --force force harddrake to eeconfigure everything
-rwxr-xr-x | perl-install/standalone/service_harddrake | 2 |
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 ]); |