summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-04 14:47:08 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-04 14:47:08 +0000
commit7f5fb17cdef2e3c3f0045b5a427211f96e8e6e52 (patch)
tree2bc526732febe2818069e01af545f4974932c3e3
parent7a2ac081349e6f0df3323346fa58d84b71cd7978 (diff)
downloaddrakx-7f5fb17cdef2e3c3f0045b5a427211f96e8e6e52.tar
drakx-7f5fb17cdef2e3c3f0045b5a427211f96e8e6e52.tar.gz
drakx-7f5fb17cdef2e3c3f0045b5a427211f96e8e6e52.tar.bz2
drakx-7f5fb17cdef2e3c3f0045b5a427211f96e8e6e52.tar.xz
drakx-7f5fb17cdef2e3c3f0045b5a427211f96e8e6e52.zip
(empty_packages) fix initializing urpm object
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/pkgs.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index c1dc6ca37..e7de9a1f8 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,4 +1,5 @@
- Mageia 3 beta 1 left background
+- fix initializing urpm object
- fix offering "selecting individual packages" when pressing "previous" after
selecting package groups
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 8d00d1bb2..cf35328d4 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -378,7 +378,7 @@ sub empty_packages {
urpm::set_files($packages, '/mnt');
#- add additional fields used by DrakX.
- $packages{media} = [];
+ $packages->{media} = [];
urpm::args::set_debug($packages) if $::o->{debug_urpmi};
$packages->{log} = \&log::l;