summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-11-16 17:13:39 +0000
committerThierry Vignaud <tv@mageia.org>2012-11-16 17:13:39 +0000
commit54e7cd7c383a88d0ba4cebcc21b455031127947a (patch)
tree685d4b4cb903bd75c1b916798d3b56eb85bf3fc9
parent9cd10d1bda5bc1a1d309559c7f7354d624bf2080 (diff)
downloaddrakx-54e7cd7c383a88d0ba4cebcc21b455031127947a.tar
drakx-54e7cd7c383a88d0ba4cebcc21b455031127947a.tar.gz
drakx-54e7cd7c383a88d0ba4cebcc21b455031127947a.tar.bz2
drakx-54e7cd7c383a88d0ba4cebcc21b455031127947a.tar.xz
drakx-54e7cd7c383a88d0ba4cebcc21b455031127947a.zip
(empty_packages) clean up
rationale: {count} is dead since switching to URPM ten years ago... (commit r198847 by fpons on Jul 10 2002: "use perl-URPM instead of rpmtools")
-rw-r--r--perl-install/install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 21c3c3ff1..e41c6c31c 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -367,7 +367,7 @@ sub empty_packages {
urpm::set_files($packages, '/mnt');
#- add additional fields used by DrakX.
- @$packages{qw(count media)} = (0, []);
+ $packages{media} = [];
urpm::args::set_debug($packages) if $::o->{debug_urpmi};
$packages->{log} = \&log::l;