Files
mongo/buildscripts/__init__.py
2009-10-12 14:20:52 -04:00

11 lines
293 B
Python

import hacks_ubuntu
import os;
def findHacks( un ):
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