From 9b9606fca7bc7259defbc4c8a45c0b4690b92b52 Mon Sep 17 00:00:00 2001 From: belliash Date: Tue, 17 Jan 2012 00:12:36 +0100 Subject: [PATCH] change option name --- config/modules/openrc-branding.conf | 2 +- modules/openrc-branding.ezmod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/modules/openrc-branding.conf b/config/modules/openrc-branding.conf index 14b8ec0..a82c57f 100644 --- a/config/modules/openrc-branding.conf +++ b/config/modules/openrc-branding.conf @@ -1,3 +1,3 @@ # This directive defines the new branding for OpenRC that will be set by openrc-branding # module. Usually this should be a distribution name. -CUSTOM_OPENRC_BRAND="MyOwn" +CUSTOM_BRANDING="MyOwn" diff --git a/modules/openrc-branding.ezmod b/modules/openrc-branding.ezmod index 9cb6d7c..c62ecd3 100644 --- a/modules/openrc-branding.ezmod +++ b/modules/openrc-branding.ezmod @@ -8,7 +8,7 @@ EZMOD_VERSION="1.0" ezsync_precommit() { printInfo "Enabling custom OpenRC branding..." find ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/sys-apps/openrc -type f -name \*.ebuild | while read EBUILD; do - sed -i "s/BRANDING=\"Gentoo \${brand}\"/BRANDING=\"${CUSTOM_OPENRC_BRAND} \${brand}\"/g" ${EBUILD} || return 1 + sed -i "s/BRANDING=\"Gentoo \${brand}\"/BRANDING=\"${CUSTOM_BRANDING} \${brand}\"/g" ${EBUILD} || return 1 done return 0 }