diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2015-09-07 20:06:56 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2015-09-07 20:06:56 +0200 |
commit | 9323c5ee46fbcb5dfd508ef382961a4820626889 (patch) | |
tree | 13b3a1f397e2d9e0fe7fcdd3af006879924a42d7 /Bugzilla | |
parent | 23807179790108fc2575d06df59dbaebf8ce0af8 (diff) | |
download | bugzilla-9323c5ee46fbcb5dfd508ef382961a4820626889.tar.gz bugzilla-9323c5ee46fbcb5dfd508ef382961a4820626889.tar.xz |
Bug 1201041: Allow OpenType fonts as well as TrueType (.otf as well as .ttf) for graphs
r=gerv
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Install/Requirements.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index d9fdc0f9e..19797b7b8 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -744,7 +744,7 @@ sub check_font_file { $readable = 1 if -r $font_file; my $ttf; - $ttf = 1 if $font_file =~ /\.ttf$/; + $ttf = 1 if $font_file =~ /\.(ttf|otf)$/; if ($output) { _checking_for({ package => 'Font file', ok => $readable && $ttf}); |