Fix PDF tools installation on Linux

This commit is contained in:
Dan Stillman 2015-05-26 04:44:02 -04:00
parent 3d3b817724
commit 8a0b4d92a6
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,7 @@ describe("Zotero.Fulltext", function () {
it("should install the PDF tools", function* () {
var version = "3.04";
var dataDir = Zotero.getZoteroDirectory().path;
var execFileName = 'pdfinfo-' + Zotero.platform;
var execFileName = Zotero.Fulltext.pdfInfoFileName;
var execContents = new Array(50001).join('a');
var execPath = OS.Path.join(dataDir, execFileName);
var versionFileName = execFileName + '.version';