summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-11-10 15:01:40 +0100
committerAndras Timar <andras.timar@collabora.com>2015-11-10 15:01:40 +0100
commita322355727368ab087b718d32b70e4a9d9db645d (patch)
treef3f7f20809d65622536ebfdb3f70eceaa6ee0523
parent0871a03bbda59e0935234c9760a655a911ea0897 (diff)
tdf#76239 fake file version for font files
Change-Id: I59a9401c0bdc2d641ea54498af0eb1e589ab12f3
-rw-r--r--solenv/bin/modules/installer/windows/file.pm5
1 files changed, 5 insertions, 0 deletions
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;
}