From 89ce12e32895526773e06c14fbc56b3499f8269f Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 21 Aug 2003 10:01:26 +0000 Subject: avoid 0 to be dumped in urpmi.cfg :( --- perl-install/install_any.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 6a0dbb38c..582f0951b 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -595,8 +595,8 @@ sub install_urpmi { push @cfg, "$qname " . ($need_list ? "" : $qdir) . " { hdlist: hdlist.$name.cz with_hdlist: $with" . ($need_list ? " - list: list.$name" : "") . (keys(%{$_->{key_ids}}) && " - key-ids: " . join(',', keys(%{$_->{key_ids}}))) . ($dir =~ /removable:/ && " + list: list.$name" : "") . (keys(%{$_->{key_ids}}) ? " + key-ids: " . join(',', keys(%{$_->{key_ids}})) : "") . ($dir =~ /removable:/ && " removable: /dev/cdrom") . " update" . " } -- cgit v1.2.1