From 074c8648da9e96e279a1b8d93e4fa910360b3ca0 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 29 Jun 2005 03:17:07 +0000 Subject: If I forbid priority-upgrade, rurpmi won't be able to restart itself --- urpmi | 1 - 1 file changed, 1 deletion(-) 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}{$_} } } -- cgit v1.2.1