diff options
Diffstat (limited to 'mail/thunderbird/files/patch-addon-search')
-rw-r--r-- | mail/thunderbird/files/patch-addon-search | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/thunderbird/files/patch-addon-search b/mail/thunderbird/files/patch-addon-search index e92bf3c15652..dcc684409e80 100644 --- a/mail/thunderbird/files/patch-addon-search +++ b/mail/thunderbird/files/patch-addon-search @@ -45,7 +45,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644 addon.isPlatformCompatible = Array.some(nodes, function(aNode) { let text = aNode.textContent.toLowerCase().trim(); - return text == "all" || text == Services.appinfo.OS.toLowerCase(); -+ return text == "all" || text == "linux"; ++ return text == "all" || text == "linux" || text == Services.appinfo.OS.toLowerCase(); }); break; case "install": @@ -54,7 +54,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644 let os = node.getAttribute("os").trim().toLowerCase(); // If the os is not ALL and not the current OS then ignore this xpi - if (os != "all" && os != Services.appinfo.OS.toLowerCase()) -+ if (os != "all" && os != "linux") ++ if (os != "all" && os != "linux" && os != Services.appinfo.OS.toLowerCase()) break; } @@ -67,7 +67,7 @@ index f70fd8d7e3bd8..81e8cd7764fdf 100644 try { for (let platform of this.targetPlatforms) { - if (platform.os == Services.appinfo.OS) { -+ if (platform.os == "Linux") { ++ if (platform.os == "Linux" || platform.os == Services.appinfo.OS) { if (platform.abi) { needsABI = true; if (platform.abi === abi) |