Query os-release for distro name

Authored by arojas on Jan 18 2018, 3:12 PM.

Description

Query os-release for distro name

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. The lsb-release method is kept as a fallback.

Differential Revision: https://phabricator.kde.org/D9960

Details

Committed
arojasJan 18 2018, 3:12 PM
Differential Revision
D9960: Query os-release for distro name
Parents
R134:dc87d64ec2d3: Properly detect the right pkqt version for offline updates
Branches
Unknown
Tags
Unknown