From 9916a26ef1ce76f892612d40c5e9bcbcc5e7bf80 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 18 Jan 2007 14:27:11 +0000 Subject: (do_install_2) factorize string with urpmi --- gurpmi2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gurpmi2') diff --git a/gurpmi2 b/gurpmi2 index 11ee88da..45cee252 100755 --- a/gurpmi2 +++ b/gurpmi2 @@ -206,10 +206,10 @@ sub do_install_2 () { } $urpm->{nb_install} = @to_install; @to_install > 1 && !$gurpmi::options{auto} - ? ask_continue(P("To satisfy dependencies, the following package is going to be installed\n%d2s\n", - "To satisfy dependencies, the following %d packages are going to be installed:\n%s\n", - scalar(@to_install), join "\n", @to_install - ), \&do_install_3) + ? ask_continue(P("To satisfy dependencies, the following package is going to be installed:", + "To satisfy dependencies, the following %d packages are going to be installed:", + scalar(@to_install), + ) . join("\n", '', @to_install, ''), \&do_install_3) : goto \&do_install_3; } -- cgit v1.2.1