projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix caption/longtable conflict with modern LaTeX installs, #13908
[freeside.git]
/
FS
/
FS
/
Upgrade.pm
diff --git
a/FS/FS/Upgrade.pm
b/FS/FS/Upgrade.pm
index
8e697d3
..
b7971ff
100644
(file)
--- a/
FS/FS/Upgrade.pm
+++ b/
FS/FS/Upgrade.pm
@@
-70,6
+70,15
@@
sub upgrade_config {
foreach grep { ! $conf->exists($_) && -s "$DIST_CONF/$_" }
qw( quotation_html quotation_latex quotation_latexnotes );
foreach grep { ! $conf->exists($_) && -s "$DIST_CONF/$_" }
qw( quotation_html quotation_latex quotation_latexnotes );
+ # change 'fslongtable' to 'longtable'
+ foreach my $name (qw(invoice_latex quotation_latex)) {
+ my $value = join("\n",$conf->config($name));
+ if (length($value)) {
+ $value =~ s/fslongtable/longtable/g;
+ $conf->set($name, $value);
+ }
+ }
+
}
sub upgrade_overlimit_groups {
}
sub upgrade_overlimit_groups {