diff options
| author | Mark Wells <mark@freeside.biz> | 2012-09-27 23:38:32 -0700 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2012-09-27 23:38:32 -0700 |
| commit | 3ded761f92af1bab8d3d8a8e9deccd97082aaf15 (patch) | |
| tree | ce9dcdf1217728f6f38df7405ed624e00ae44ad3 /FS | |
| parent | 3185fe4edea62dd3fa9818cf80902e96fe2a2d21 (diff) | |
fix caption/longtable conflict with modern LaTeX installs, #13908
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/Upgrade.pm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index 8e697d31e..b7971ff48 100644 --- 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 ); + # 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 { |
