summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-05-17 07:46:30 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-05-17 07:46:30 +0000
commit4385808497b173e16bb55ec18ea9194c5b6b3e87 (patch)
treea092bfc769519ff8bf39189a22788254f8416c1e /urpmi
parent6c982566adb4319921850fd1be19581e690543b6 (diff)
downloadurpmi-4385808497b173e16bb55ec18ea9194c5b6b3e87.tar
urpmi-4385808497b173e16bb55ec18ea9194c5b6b3e87.tar.gz
urpmi-4385808497b173e16bb55ec18ea9194c5b6b3e87.tar.bz2
urpmi-4385808497b173e16bb55ec18ea9194c5b6b3e87.tar.xz
urpmi-4385808497b173e16bb55ec18ea9194c5b6b3e87.zip
Don't restart urpmi when used with --root (bug #22509)
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmi b/urpmi
index da08fac8..efaf96d0 100755
--- a/urpmi
+++ b/urpmi
@@ -334,6 +334,7 @@ my %config_hash = (
if (exists $urpm->{options}{'priority-upgrade'} && $urpm->{options}{'priority-upgrade'} eq '') {
$auto_update = 0;
}
+$root and $urpm->{options}{'priority-upgrade'} = '';
if ($auto_update && !$bug && !$env) {
#- For translators : there are several media here
$urpm->{log}(N("Updating media...\n"));