mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-29 16:47:28 +01:00
3d4d7efb46
commit 52001d0ac4e83d71cdae37fcf7882ecd24535022 Author: Ludovic Bellière <xrogaan@gmail.com> Date: Mon Mar 22 18:10:29 2010 +0100 Append the header path to CPPPATH commit 9d2835b7774aea96e0231f88c82b834b0ed0de64 Author: Bellière Ludovic <xrogaan@gmail.com> Date: Sun Mar 21 22:39:33 2010 +0100 mandriva hack import was missing commit 6603448c41c3f68a0209bf19502c5dd2b139123b Author: Bellière Ludovic <xrogaan@gmail.com> Date: Sun Mar 21 21:14:49 2010 +0100 stuff to be able to package mongodb into mandriva commit bd9379f0fe36b8b1fea104f4a5ea159733d60368 Author: Bellière Ludovic <xrogaan@gmail.com> Date: Sun Mar 21 22:07:22 2010 +0100 more macro for the mandriva spec file commit 0d7c93a6dd162e5d20a56ffa51aaae2da9fe5ee6 Author: Bellière Ludovic <xrogaan@gmail.com> Date: Sun Mar 21 21:15:08 2010 +0100 dedicated spec file for mandriva Signed-off-by: Eliot Horowitz <eliot@10gen.com>
14 lines
402 B
Python
14 lines
402 B
Python
|
|
import hacks_mandriva
|
|
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):
|
|
return hacks_ubuntu
|
|
if un[0] == 'Linux' and (os.path.exists("/etc/mandriva-release") or
|
|
un[3].find("mnb") >= 0):
|
|
return hacks_mandriva
|
|
return None
|