diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | gurpmi2 | 1 | ||||
-rw-r--r-- | urpm/args.pm | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -2,6 +2,7 @@ o ensure rpm error message are always in UTF-8 o ensure urpmi messages are always in UTF-8 o return urpmi error code + o handle --force Version 5.11 - 11 March 2008, by Pascal "Pixel" Rigaux @@ -24,6 +24,7 @@ use Gtk2; #- default options. our $allow_medium_change = 0; our $auto_select = 0; +our $force = 0; our $test = 0; #- GUI globals diff --git a/urpm/args.pm b/urpm/args.pm index 120118a2..b34e461e 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -370,7 +370,7 @@ sub add_urpmf_parameter { # common options setup -foreach my $k ('allow-medium-change', 'auto', 'auto-select', 'expect-install!', 'no-priority-upgrade', 'previous-priority-upgrade=s', 'root=s', 'test!', 'verify-rpm!') +foreach my $k ('allow-medium-change', 'auto', 'auto-select', 'force', 'expect-install!', 'no-priority-upgrade', 'previous-priority-upgrade=s', 'root=s', 'test!', 'verify-rpm!') { $options_spec{gurpmi}{$k} = $options_spec{urpmi}{$k}; } |