D9960: Query os-release for distro name
Antonio Rojas
noreply at phabricator.kde.org
Thu Jan 18 10:53:35 UTC 2018
arojas created this revision.
arojas added a reviewer: apol.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
arojas requested review of this revision.
REVISION SUMMARY
Look for the distro name in /etc/os-release and /usr/lib/os-release instead of relying on the external lsb-release tool, which may not be installed on the system (it is not in Arch by default). The lsb-release method is kept as a fallback.
TEST PLAN
Distro name is displayed correctly in the sources list in Arch Linux without lsb-release installed
REPOSITORY
R134 Discover Software Store
REVISION DETAIL
https://phabricator.kde.org/D9960
AFFECTED FILES
libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp
To: arojas, apol
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180118/2ea3805d/attachment.html>
More information about the Plasma-devel
mailing list