Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 402 Bytes
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
Jump to Line
Something went wrong with that request. Please try again.