small changes in openrc-branding; adding baselayout-branding
This commit is contained in:
parent
9b9606fca7
commit
564e8e98d2
|
@ -0,0 +1,4 @@
|
||||||
|
# This directive defines the new branding for BaseLayout package that will be set by the
|
||||||
|
# baselayout-branding module. Usually this should be a string representing distribution
|
||||||
|
# name.
|
||||||
|
CUSTOM_BRANDING="MyOwn Base System"
|
|
@ -1,3 +1,3 @@
|
||||||
# This directive defines the new branding for OpenRC that will be set by openrc-branding
|
# This directive defines the new branding for OpenRC package that will be set by
|
||||||
# module. Usually this should be a distribution name.
|
# openrc-branding module. Usually this should be a distribution name.
|
||||||
CUSTOM_BRANDING="MyOwn"
|
CUSTOM_BRANDING="MyOwn"
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Copyright 2010-2012, Asio Software Technologies
|
||||||
|
# Distributed under the terms of the GNU General Public License v3
|
||||||
|
EZMOD_DESCRIPTION="Allows to re-brand the sys-apps/baselayout package"
|
||||||
|
EZMOD_COMPATIBILITY="ezsync"
|
||||||
|
EZMOD_AUTHOR="Rafal Kupiec"
|
||||||
|
EZMOD_VERSION="1.0"
|
||||||
|
|
||||||
|
ezsync_precommit() {
|
||||||
|
printInfo "Enabling custom BaseLayout branding..."
|
||||||
|
find ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/sys-apps/baselayout -type f -name \*.ebuild | while read EBUILD; do
|
||||||
|
sed -i "s/echo \"Gentoo Base System release/echo \"${CUSTOM_BRANDING}/g" ${EBUILD} || return 1
|
||||||
|
done
|
||||||
|
return 0
|
||||||
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
# Copyright 2010-2012, Asio Software Technologies
|
# Copyright 2010-2012, Asio Software Technologies
|
||||||
# Distributed under the terms of the GNU General Public License v3
|
# Distributed under the terms of the GNU General Public License v3
|
||||||
EZMOD_DESCRIPTION="Allows to re-brand the OpenRC package"
|
EZMOD_DESCRIPTION="Allows to re-brand the sys-apps/openrc package"
|
||||||
EZMOD_COMPATIBILITY="ezsync"
|
EZMOD_COMPATIBILITY="ezsync"
|
||||||
EZMOD_AUTHOR="Rafal Kupiec"
|
EZMOD_AUTHOR="Rafal Kupiec"
|
||||||
EZMOD_VERSION="1.0"
|
EZMOD_VERSION="1.0"
|
||||||
|
|
Loading…
Reference in New Issue