]> git.ipfire.org Git - thirdparty/dehydrated.git/commit
fix OS name detection
authorDaniel Molkentin <dmolkentin@suse.com>
Thu, 17 Sep 2020 22:15:04 +0000 (00:15 +0200)
committerLukas Schauer <lukas2511@users.noreply.github.com>
Sun, 27 Sep 2020 18:35:18 +0000 (20:35 +0200)
commit5f8cfa50ba93f7ffeb3fca4bcc6fd01c3dfb925c
treeb2903d7f52f81b450bfad369b2583ed0a46a6be3
parentb3abc41dbe20f9a54b3154f2b8294b66f4dad857
fix OS name detection

before applying heuristics, use PRETTY_NAME from os-release(3),
which reliably exists on all common linux distributions.

keep the /etc/issue parsing as fallback.
dehydrated