diff options
author | DjMelik <melik@archlinux.us> | 2010-08-23 19:25:47 -0700 |
---|---|---|
committer | DjMelik <melik@archlinux.us> | 2010-08-23 19:25:47 -0700 |
commit | 2aec7d8692fe1fdd7c5201f21760ee856949421a (patch) | |
tree | 08d5245113cc125ff341dd7b23e657707fd95075 | |
parent | 802d3df689157bcd490ed26ac2e8d1cde5a9788c (diff) |
Fixed another bug
-rw-r--r-- | archey | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -104,7 +104,9 @@ processes = map(xmonadfix, [process.split()[3] for process in p1 if process]) p1 = None # Find Distro. -DetectUbuntu = Popen(['grep', '-i', 'ubuntu', '/etc/lsb-release'], stdout=PIPE) +DetectLsb = os.path.exists('/etc/lsb-release') +if DetectLsb: + DetectUbuntu = Popen(['grep', '-i', 'ubuntu', '/etc/lsb-release'], stdout=PIPE) DetectArch = os.path.exists('/etc/arch-release') # Print coloured key with normal value. |