summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-12-29 08:20:29 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-12-29 08:20:29 +0000
commit55bf3e59d1e5ef49ab7e7707462722b17e58851e (patch)
tree6b94e9a17cfc60ff594a424468e26663402a373a
parent52ee581c891677eb2f6781ce64c3de8d7e5c308c (diff)
downloaddrakx-backup-do-not-use-55bf3e59d1e5ef49ab7e7707462722b17e58851e.tar
drakx-backup-do-not-use-55bf3e59d1e5ef49ab7e7707462722b17e58851e.tar.gz
drakx-backup-do-not-use-55bf3e59d1e5ef49ab7e7707462722b17e58851e.tar.bz2
drakx-backup-do-not-use-55bf3e59d1e5ef49ab7e7707462722b17e58851e.tar.xz
drakx-backup-do-not-use-55bf3e59d1e5ef49ab7e7707462722b17e58851e.zip
really display which devices were removed
-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 f4b100458..c003ed3a0 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -50,7 +50,7 @@ foreach (@harddrake::data::tree) {
"- " . join('', map { harddrake::data::custom_id($oldconfig->{$_}, $item) . " was removed\n" } @was_removed) . "\n";
}
my @added = difference2([ keys %ID ], [ keys %$oldconfig ]);
- $msg .= N("Some devices were added:\n", $item) if @added;
+ $msg .= N("Some devices were added: %s\n", $item) if @added;
$msg .= "- " . harddrake::data::custom_id($ID{$_}, $item) . " was added\n" foreach @added;
modules::load('ohci1394') if $Ident eq 'FIREWIRE_CONTROLLER' && any { $_->{driver} eq 'ohci1394' } @added;
@added || @was_removed or next;