[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: test of debconf po files and some questions...



On Fri, Mar 07, 2003 at 04:07:56PM -0500, Joey Hess wrote:
[...]
> > It works on woody, but not on sid.
> 
> Why only woody?

Here is the error message when adding .ISO-8859-1 to a Choices-fr field:
  debconf-mergetemplate: debconf/frontend choices-fr.iso-8859 is missing; dropping choices-fr.iso-8859-1
The attached patch fixes this problem.

Denis
--- debconf-mergetemplate	2003-03-02 18:33:14.000000000 +0100
+++ debconf-mergetemplate	2003-03-07 22:55:32.000000000 +0100
@@ -104,7 +104,7 @@
 		my $master=$templates{$template->template};
 		foreach my $field (grep { /.+-.+/ } $template->fields) {
 			next if $field =~ /^extended_/;
-			if ($field =~ /(.+)-(.+)/) {
+			if ($field =~ /(.+?)-(.+)/) {
 				my $basefield = $1;
 				my $lang = $2;
 

Reply to: