diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-03 10:34:36 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-03 10:34:36 +0000 |
commit | d23699cebec60afd124210d71e2d12606dc6473a (patch) | |
tree | a60ac17ab1c4c3d140861908ee7272f846f19cd0 | |
parent | 5234de9b98ef147c8533b2829cb5083c45e46b46 (diff) | |
download | urpmi-d23699cebec60afd124210d71e2d12606dc6473a.tar urpmi-d23699cebec60afd124210d71e2d12606dc6473a.tar.gz urpmi-d23699cebec60afd124210d71e2d12606dc6473a.tar.bz2 urpmi-d23699cebec60afd124210d71e2d12606dc6473a.tar.xz urpmi-d23699cebec60afd124210d71e2d12606dc6473a.zip |
nicer var names
-rwxr-xr-x | urpmi | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -539,11 +539,11 @@ if (@ask_remove) { { my $db = urpm::db_open_or_die_($urpm); urpm::select::find_removed_from_basesystem($urpm, $db, $state, sub { - my $urpm = shift @_; - foreach (@_) { + my ($urpm, @pkgs) = @_; + foreach (@pkgs) { $urpm->{error}(N("removing package %s will break your system", $_)); } - @_ and $no_remove = 1; + @pkgs and $no_remove = 1; }); } my $list = urpm::select::translate_why_removed($urpm, $state, @ask_remove); |