Skip to content

Conversation

@haneo3o
Copy link

@haneo3o haneo3o commented Dec 8, 2025

Not all systems have /etc/os-release (e.g., macOS).
Checking it causes unnecessary build noise when the file is missing.
并非所有系统都有 /etc/os-release(例如 macOS)。检查该文件在缺失时会产生不必要的构建噪声。
This PR instead checks for Gentoo-specific /etc/gentoo-release, which is always present on Gentoo and avoids the error.
本 PR 改为检查 Gentoo 特有的 /etc/gentoo-release, 该文件在 Gentoo 上必定存在,可避免错误。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant