[wesnoth-commits] [wesnoth/wesnoth] 8fb2da: desktop/version: Use systemd's os-release file if ...

Iris Morelle noreply at github.com
Sat Mar 27 05:46:52 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8fb2da8fd01c38595d59f671d1831182ccfed874
      https://github.com/wesnoth/wesnoth/commit/8fb2da8fd01c38595d59f671d1831182ccfed874
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-03-27 (Sat, 27 Mar 2021)

  Changed paths:
    M src/desktop/version.cpp

  Log Message:
  -----------
  desktop/version: Use systemd's os-release file if available (#5642)

desktop/version: Use systemd's os-release file if available

This allows us to obtain the OS version without blocking for a
long amount of time waiting for lsb_release (which is deprecated
anyway).

The parsing is intentionally basic.





More information about the Commits mailing list