Skip to content
Commit 03ca9d06 authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

rename lsbRelease to prettyName and set it from os-release as well

Summary:
previously when lsb_release was not present or working we'd fall back
to os-release, but then not track the pretty name leading to the report
containing no Distribution value.
the more aptly named info variable is now set by both lsb_release and
os-release logic, ensuring that in both scenarios we have the distro
recorded in the report.

systeminformationtest now also checks that the pretty name is set when
testing on os-release (without lsb_release)

this also will allow us to eventually move to prefer os-release instead of
calling the external lsb_release script.

Test Plan: builds & passes

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22141
parent 7f3104b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment