From 54e8e1c42eb12a5c920d7cd275ba25ab81186187 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 20 Nov 2006 12:29:23 +0000 Subject: make translate_message the default in install() since we always use it --- urpm.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index f7958272..2076d32c 100644 --- a/urpm.pm +++ b/urpm.pm @@ -2853,9 +2853,15 @@ sub install_logger { } #- install packages according to each hash (remove, install or upgrade). +#- options: +#- test, excludepath, nodeps, noorder (unused), delta, +#- callback_open, callback_close, callback_inst, callback_trans, post_clean_cache +#- (more options for trans->run) +#- excludedocs, nosize, noscripts, oldpackage, repackage, ignorearch sub install { my ($urpm, $remove, $install, $upgrade, %options) = @_; my %readmes; + $options{translate_message} = 1; my $db = db_open_or_die($urpm, $urpm->{root}, !$options{test}); #- open in read/write mode unless testing installation. -- cgit v1.2.1