Regenerate manifest

This commit is contained in:
belliash 2012-01-17 11:45:12 +01:00
parent 7bb936b059
commit 7ee37f3b1a
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ 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
run "ebuild ${EBUILD} manifest" || return 1
done
return 0
}

View File

@ -9,6 +9,7 @@ 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_BRANDING} \${brand}\"/g" ${EBUILD} || return 1
run "ebuild ${EBUILD} manifest" || return 1
done
return 0
}