mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
Merge pull request #987 from MihaelaStoica/master
Fix re-branding of the product version
This commit is contained in:
commit
9fed9630f4
@ -23,7 +23,7 @@ BRANDING_SERVER=XenServer
|
||||
BRANDING_BRAND_CONSOLE=$(cat ${SCRATCH_DIR}/globals | grep -w BRAND_CONSOLE | sed -e 's/BRAND_CONSOLE=//g' -e 's/"//g')
|
||||
# Check for the micro version override from declarations.sh and use it if present otherwise use the one from branding
|
||||
if [ -n "${PRODUCT_MICRO_VERSION_OVERRIDE+x}" ]; then
|
||||
BRANDING_PRODUCT_MICRO_VERSION=$BRANDING_PRODUCT_MICRO_VERSION_OVERRIDE
|
||||
BRANDING_PRODUCT_MICRO_VERSION=$PRODUCT_MICRO_VERSION_OVERRIDE
|
||||
echo Using override for micro product number of: $BRANDING_PRODUCT_MICRO_VERSION
|
||||
else
|
||||
BRANDING_PRODUCT_MICRO_VERSION=$(cat ${SCRATCH_DIR}/globals | grep -w PRODUCT_MICRO_VERSION | sed -e 's/PRODUCT_MICRO_VERSION=//g' -e 's/"//g')
|
||||
|
@ -59,7 +59,7 @@ rebranding_global()
|
||||
-e "s#\"\[BRANDING_COPYRIGHT\]\"#${BRANDING_COPYRIGHT}#g" \
|
||||
-e "s#\"\[BRANDING_COPYRIGHT_2\]\"#${BRANDING_COPYRIGHT_2}#g" \
|
||||
-e "s#\[XenServer product\]#${BRANDING_PRODUCT_BRAND}#g" \
|
||||
-e "s#\[BRANDING_PRODUCT_VERSION\]#${BRANDING_PRODUCT_VERSION}#g" \
|
||||
-e "s#\[BRANDING_PRODUCT_VERSION\]#${BRANDING_XC_PRODUCT_VERSION}#g" \
|
||||
-e "s#\[BRANDING_PRODUCT_VERSION_TEXT\]#${BRANDING_PRODUCT_VERSION_TEXT}#g" \
|
||||
-e "s#\[xensearch\]#${BRANDING_SEARCH}#g" \
|
||||
-e "s#\[xsupdate\]#${BRANDING_UPDATE}#g" \
|
||||
|
Loading…
Reference in New Issue
Block a user