From 6bf502094539906bc576e7363f126257be30f37a Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Thu, 3 Sep 2009 14:30:39 -0400 Subject: made debian finding better --- buildscripts/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buildscripts/__init__.py') diff --git a/buildscripts/__init__.py b/buildscripts/__init__.py index 790f2a1b6e6..571f0de3c6a 100644 --- a/buildscripts/__init__.py +++ b/buildscripts/__init__.py @@ -1,7 +1,8 @@ import hacks_ubuntu +import os; def findHacks( un ): - if un[3].find( "Ubuntu" ) >= 0: + if os.path.exists( "/etc/debian_version" ) or un[3].find( "Ubuntu" ) >= 0: return hacks_ubuntu return None -- cgit v1.2.1