diff -uNar lsb-4.0.orig/lsb_release.py lsb-4.0/lsb_release.py --- lsb-4.0.orig/lsb_release.py 2009-09-10 13:27:42.000000000 +0200 +++ lsb-4.0/lsb_release.py 2009-12-09 22:21:45.000000000 +0100 @@ -248,9 +248,12 @@ # Whatever is guessed above can be overridden in /etc/lsb-release def get_lsb_information(): distinfo = {} - if os.path.exists('/etc/lsb-release'): + LSB_RELEASE = os.getenv("CDD_LSB_RELEASE") + if LSB_RELEASE is None: + LSB_RELEASE = '/etc/lsb-release' + if os.path.exists(LSB_RELEASE): try: - for line in open('/etc/lsb-release'): + for line in open(LSB_RELEASE): line = line.strip() if not line: continue