commit:     777fdecc37b19201141afb383481d82b4b65652a
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 15 15:38:50 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jan  5 09:44:38 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=777fdecc

sys-apps/lsb-release: Use branding.eclass

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 sys-apps/lsb-release/lsb-release-3.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/lsb-release/lsb-release-3.3.ebuild 
b/sys-apps/lsb-release/lsb-release-3.3.ebuild
index 8ca777f5dc12..f7ba34253f40 100644
--- a/sys-apps/lsb-release/lsb-release-3.3.ebuild
+++ b/sys-apps/lsb-release/lsb-release-3.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit prefix
+inherit branding prefix
 
 DESCRIPTION="LSB version query program"
 HOMEPAGE="https://wiki.linuxfoundation.org/lsb/";
@@ -34,6 +34,6 @@ src_install() {
 
        insinto /etc
        newins - lsb-release <<-EOF
-               DISTRIB_ID="Gentoo"
+               DISTRIB_ID="${BRANDING_OS_NAME// }"
        EOF
 }

Reply via email to