diff options
Diffstat (limited to 'buildscripts/__init__.py')
-rw-r--r-- | buildscripts/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |