summaryrefslogtreecommitdiff
path: root/www/waterfox/files/patch-addon-search
diff options
context:
space:
mode:
Diffstat (limited to 'www/waterfox/files/patch-addon-search')
-rw-r--r--www/waterfox/files/patch-addon-search6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/waterfox/files/patch-addon-search b/www/waterfox/files/patch-addon-search
index 27bffc98e887..a2fabaa456b7 100644
--- a/www/waterfox/files/patch-addon-search
+++ b/www/waterfox/files/patch-addon-search
@@ -42,7 +42,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":
@@ -51,7 +51,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;
}
@@ -64,7 +64,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)