From a322355727368ab087b718d32b70e4a9d9db645d Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 10 Nov 2015 15:01:40 +0100 Subject: tdf#76239 fake file version for font files Change-Id: I59a9401c0bdc2d641ea54498af0eb1e589ab12f3 --- solenv/bin/modules/installer/windows/file.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/solenv/bin/modules/installer/windows/file.pm b/solenv/bin/modules/installer/windows/file.pm index 457b31ac0d71..c41be70ba115 100644 --- a/solenv/bin/modules/installer/windows/file.pm +++ b/solenv/bin/modules/installer/windows/file.pm @@ -551,6 +551,11 @@ sub get_fileversion $fileversion = $version . "." . $subversion . "." . $microversion . "." . $vervariant; } } + # fake file version for font files (tdf#76239) + if ( $onefile->{'Name'} =~ /\.ttf$|\.TTF$/ ) + { + $fileversion = "1.0.0.0"; + } return $fileversion; } -- cgit v1.2.3