summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-11 11:09:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-11 11:09:36 +0000
commit584e7e3db6cca674c460d6ae87449083d3b1054f (patch)
treec4f3e44ec79a67758bb128dae34b9156f77daf72 /urpmi
parent5f79cf194e44dc4273f51c25ad11dcc5b34028b0 (diff)
downloadurpmi-584e7e3db6cca674c460d6ae87449083d3b1054f.tar
urpmi-584e7e3db6cca674c460d6ae87449083d3b1054f.tar.gz
urpmi-584e7e3db6cca674c460d6ae87449083d3b1054f.tar.bz2
urpmi-584e7e3db6cca674c460d6ae87449083d3b1054f.tar.xz
urpmi-584e7e3db6cca674c460d6ae87449083d3b1054f.zip
better fix for "always prompt before doing a priority-upgrade transaction,
even if there is only one priority upgrade package (since there will be more packages to install after restarting urpmi)" since we don't want to prompt if all pkgs have been especially prompted on command-line also not using suggests when selecting pkgs in priority-upgrade (nb: this may by-pass some suggests in priority-upgrade pkgs, need more checking)
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index 2a4551bb..eb8f3d4f 100755
--- a/urpmi
+++ b/urpmi
@@ -558,7 +558,7 @@ have to be removed for others to be upgraded:\n%s\n", $list);
#- check if there is at least one package to install that
#- has not been given by the user.
-my $ask_user = $env || $search_result eq 'substring' || $restart_itself;
+my $ask_user = $env || $search_result eq 'substring';
my @root_only;
my @to_install = @{$urpm->{depslist}}[sort { $a <=> $b } keys %{$state->{selected}}]; # sorted by medium for format_selected_packages