summaryrefslogtreecommitdiff
path: root/buildscripts/__init__.py
diff options
context:
space:
mode:
authorMathias Stearn <redbeard0531@gmail.com>2009-10-12 14:20:52 -0400
committerMathias Stearn <redbeard0531@gmail.com>2009-10-12 14:20:52 -0400
commit42544bd9af00e2153b5ca49faa2b370dad5dd804 (patch)
tree5616990912efae0af7c0f62f6eac46f3882d52d9 /buildscripts/__init__.py
parentc7f0a55ee5eac6e1a3d1d10c43656b5c5e0ec68b (diff)
downloadmongo-42544bd9af00e2153b5ca49faa2b370dad5dd804.tar.gz
support xulrunner on Arch Linux
Diffstat (limited to 'buildscripts/__init__.py')
-rw-r--r--buildscripts/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildscripts/__init__.py b/buildscripts/__init__.py
index 9193b6cc728..7f1b703442e 100644
--- a/buildscripts/__init__.py
+++ b/buildscripts/__init__.py
@@ -3,6 +3,8 @@ import hacks_ubuntu
import os;
def findHacks( un ):
- if un[0] == 'Linux' and ( os.path.exists( "/etc/debian_version" ) or un[3].find( "Ubuntu" ) >= 0 ):
+ if un[0] == 'Linux' and (os.path.exists("/etc/debian_version") or
+ os.path.exists("/etc/arch-release") or
+ un[3].find("Ubuntu") >= 0):
return hacks_ubuntu
return None