Branding of Guest Tools Name

https://github.com/xcp-ng/xenadmin/issues/168
This commit is contained in:
Alexander Schulz 2019-07-10 22:54:40 +02:00
parent 5eb3058ea3
commit 03be16a785

View File

@ -69,6 +69,7 @@ BRANDING_COPYRIGHT=\"Copyright\ ©\ ${BRANDING_COMPANY_NAME_LEGAL}\"
BRANDING_COPYRIGHT_2=\"Copyright\ \\\\251\ ${BRANDING_COMPANY_NAME_LEGAL}\"
BRANDING_PRODUCT_BRAND=XCP-ng
BRANDING_COMPANY_URL=xcp-ng.org
BRANDING_PV_TOOLS=${BRANDING_COMPANY_NAME_SHORT}\ VM\ Tools
BRANDING_PRODUCT_MAJOR_VERSION=99
BRANDING_PRODUCT_MINOR_VERSION=99
@ -133,6 +134,7 @@ rebranding_global()
{
sed -b -i -e "s#\[BRANDING_COMPANY_NAME_LEGAL\]#${BRANDING_COMPANY_NAME_LEGAL}#g" \
-e "s#\[Citrix\]#${BRANDING_COMPANY_NAME_SHORT}#g" \
-e "s#\[Citrix VM Tools\]#${BRANDING_PV_TOOLS}#g" \
-e "s#\"\[BRANDING_COPYRIGHT\]\"#${BRANDING_COPYRIGHT}#g" \
-e "s#\"\[BRANDING_COPYRIGHT_2\]\"#${BRANDING_COPYRIGHT_2}#g" \
-e "s#\[XenServer product\]#${BRANDING_PRODUCT_BRAND}#g" \