From 55bf3e59d1e5ef49ab7e7707462722b17e58851e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 29 Dec 2003 08:20:29 +0000 Subject: really display which devices were removed --- perl-install/standalone/service_harddrake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/service_harddrake') 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; -- cgit v1.2.1