summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfigurator.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-07-04 17:32:53 +0000
committerFrancois Pons <fpons@mandriva.com>2001-07-04 17:32:53 +0000
commit1c9b13091cbbd6bcc8a161db93588993f2b8b84d (patch)
treef84e36998076c1932c6627d428533a812be2be47 /perl-install/Xconfigurator.pm
parent84a0194e85ba38085d6b68e6b1e89b24151c6918 (diff)
downloaddrakx-1c9b13091cbbd6bcc8a161db93588993f2b8b84d.tar
drakx-1c9b13091cbbd6bcc8a161db93588993f2b8b84d.tar.gz
drakx-1c9b13091cbbd6bcc8a161db93588993f2b8b84d.tar.bz2
drakx-1c9b13091cbbd6bcc8a161db93588993f2b8b84d.tar.xz
drakx-1c9b13091cbbd6bcc8a161db93588993f2b8b84d.zip
added missing last Card read from Cards+ file.
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r--perl-install/Xconfigurator.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index a4412a3ed..cbe24f5d9 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -67,7 +67,7 @@ sub readCardsDB {
s/\s+$//;
/^#/ and next;
/^$/ and next;
- /^END/ and last;
+ /^END/ and do { $cards{$card->{type}} = $card if $card; last };
($cmd, $val) = /(\S+)\s*(.*)/ or next; #log::l("bad line $lineno ($_)"), next;