diff options
author | Francois Pons <fpons@mandriva.com> | 2003-08-21 10:01:26 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-08-21 10:01:26 +0000 |
commit | 89ce12e32895526773e06c14fbc56b3499f8269f (patch) | |
tree | c03432bc56b5647c4b6acf3de31e0233e0bc0e7e /perl-install | |
parent | 26a4878d6c5b03be939dfe06177a83f83f4ff83e (diff) | |
download | drakx-backup-do-not-use-89ce12e32895526773e06c14fbc56b3499f8269f.tar drakx-backup-do-not-use-89ce12e32895526773e06c14fbc56b3499f8269f.tar.gz drakx-backup-do-not-use-89ce12e32895526773e06c14fbc56b3499f8269f.tar.bz2 drakx-backup-do-not-use-89ce12e32895526773e06c14fbc56b3499f8269f.tar.xz drakx-backup-do-not-use-89ce12e32895526773e06c14fbc56b3499f8269f.zip |
avoid 0 to be dumped in urpmi.cfg :(
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_any.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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" . " } |