summaryrefslogtreecommitdiff
path: root/UpdateManager/Common/DistInfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'UpdateManager/Common/DistInfo.py')
-rw-r--r--UpdateManager/Common/DistInfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/UpdateManager/Common/DistInfo.py b/UpdateManager/Common/DistInfo.py
index 7d2d37ad..79d5356c 100644
--- a/UpdateManager/Common/DistInfo.py
+++ b/UpdateManager/Common/DistInfo.py
@@ -56,7 +56,7 @@ class DistInfo:
self.suites = []
if not dist:
- pipe = os.popen("lsb_release -i | cut -d : -f 2-")
+ pipe = os.popen("lsb_release -i -s")
dist = pipe.read().strip()
pipe.close()
del pipe