summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-29 03:17:07 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-06-29 03:17:07 +0000
commit074c8648da9e96e279a1b8d93e4fa910360b3ca0 (patch)
tree4384dd5f6afa4126ee1d6027017a93da79f4c2c0
parent8e03e0e1b7c8b31d5d2747abfb737c06578c991d (diff)
downloadurpmi-074c8648da9e96e279a1b8d93e4fa910360b3ca0.tar
urpmi-074c8648da9e96e279a1b8d93e4fa910360b3ca0.tar.gz
urpmi-074c8648da9e96e279a1b8d93e4fa910360b3ca0.tar.bz2
urpmi-074c8648da9e96e279a1b8d93e4fa910360b3ca0.tar.xz
urpmi-074c8648da9e96e279a1b8d93e4fa910360b3ca0.zip
If I forbid priority-upgrade, rurpmi won't be able to restart itself
-rwxr-xr-xurpmi1
1 files changed, 0 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index 5ffe3d48..f03ab716 100755
--- a/urpmi
+++ b/urpmi
@@ -192,7 +192,6 @@ if ($restricted) {
foreach (qw(keep verify-rpm norebuild)) { $urpm->{options}{$_} = 1 }
#- forbid some other options
urpm::error_restricted($urpm) if $root || $usedistrib || $force || $env || $parallel || $synthesis || $nolock;
- urpm::error_restricted($urpm) if exists $urpm->{options}{'priority-upgrade'};
foreach (qw(allow-nodeps allow-force)) { urpm::error_restricted($urpm) if $urpm->{options}{$_} }
}