mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-14 07:33:34 +01:00
[PR #765] [MERGED] fix OS name detection #921
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dehydrated-io/dehydrated/pull/765
Author: @danimo
Created: 9/18/2020
Status: ✅ Merged
Merged: 9/27/2020
Merged by: @lukas2511
Base:
master← Head:fix_os_version📝 Commits (1)
259fc81fix OS name detection📊 Changes
1 file changed (+4 additions, -0 deletions)
View changed files
📝
dehydrated(+4 -0)📄 Description
before applying heuristics, use
PRETTY_NAMEfrom os-release(3),which reliably exists on all common linux distributions.
keep the /etc/issue parsing as fallback.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.