diff options
author | Francois Pons <fpons@mandriva.com> | 2001-09-06 14:27:44 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-09-06 14:27:44 +0000 |
commit | 05cdbae0aa2857780e43aabc9f4c7d5ad47fb3ab (patch) | |
tree | fa9fdbdd136ee145a1b716ba7b3b32d4721a768f | |
parent | d338a62fc8c95e6212fc84dbded1393bcd9142ab (diff) | |
download | drakx-05cdbae0aa2857780e43aabc9f4c7d5ad47fb3ab.tar drakx-05cdbae0aa2857780e43aabc9f4c7d5ad47fb3ab.tar.gz drakx-05cdbae0aa2857780e43aabc9f4c7d5ad47fb3ab.tar.bz2 drakx-05cdbae0aa2857780e43aabc9f4c7d5ad47fb3ab.tar.xz drakx-05cdbae0aa2857780e43aabc9f4c7d5ad47fb3ab.zip |
update printer data for g_auto_install.
-rw-r--r-- | perl-install/install_any.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 84c6214b7..8795046c0 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -651,8 +651,9 @@ sub g_auto_install { $o->{printer}{configured} = {}; foreach my $queue (keys %{$::o->{printer}{configured}}) { my $val = $::o->{printer}{configured}{$queue}; - $val->{$_} and $o->{printer}{configured}{$queue}{$_} = $val->{$_} foreach qw(OPTIONS); - add2hash($o->{printer}{configured}{$queue}{queuedata} = {}, $val->{queuedata}); + exists $val->{$_} and $o->{printer}{configured}{$queue}{$_} = $val->{$_} foreach qw(OPTIONS); + exists $val->{queuedata}{$_} and $o->{printer}{configured}{$queue}{queuedata}{$_} = $val->{queuedata}{$_} + foreach keys %{$val->{queuedata} || {}}; } } |