mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-01 12:53:27 +01:00
Exclude CCPV from Package
This commit is contained in:
parent
e85108dca7
commit
43e72fd14c
@ -1437,27 +1437,6 @@ if [[ -d "${SRCROOT}"/BootLoaderChooser && ${NOEXTRAS} != *"BootLoaderChooser"*
|
|||||||
# End BootLoaderChooser
|
# End BootLoaderChooser
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# build CloverConfigPlistValidator package
|
|
||||||
if [[ -d "${SRCROOT}"/CloverConfigPlistValidator && ${NOEXTRAS} != *"CloverConfigPlistValidator"* ]]; then
|
|
||||||
echo "=============== CloverConfigPlistValidator ==============="
|
|
||||||
local CCPV_Dir="${SRCROOT}"/CloverConfigPlistValidator
|
|
||||||
local CCPV_Dest='/usr/local/bin'
|
|
||||||
|
|
||||||
packagesidentity="${clover_package_identity}"
|
|
||||||
choiceId="CloverConfigPlistValidator"
|
|
||||||
packageRefId=$(getPackageRefId "${packagesidentity}" "${choiceId}")
|
|
||||||
|
|
||||||
ditto --noextattr --noqtn "$CCPV_Dir" \
|
|
||||||
"${PKG_BUILD_DIR}/${choiceId}/Root/${CCPV_Dest}"/
|
|
||||||
addTemplateScripts --pkg-rootdir="${PKG_BUILD_DIR}/${choiceId}" \
|
|
||||||
--subst="INSTALLER_CHOICE=$packageRefId" \
|
|
||||||
CloverConfigPlistValidator
|
|
||||||
buildpackage "$packageRefId" "${choiceId}" "${PKG_BUILD_DIR}/${choiceId}" "/"
|
|
||||||
addChoice --start-visible="true" --start-selected="choicePreviouslySelected('$packageRefId')" \
|
|
||||||
--pkg-refs="$packageRefId" "${choiceId}"
|
|
||||||
# End build CloverConfigPlistValidator packages
|
|
||||||
fi
|
|
||||||
|
|
||||||
# local cloverUpdaterDir="${SRCROOT}"/CloverUpdater
|
# local cloverUpdaterDir="${SRCROOT}"/CloverUpdater
|
||||||
# local cloverPrefpaneDir="${SRCROOT}"/CloverPrefpane
|
# local cloverPrefpaneDir="${SRCROOT}"/CloverPrefpane
|
||||||
# if [[ -x "$cloverPrefpaneDir"/build/Clover.prefPane/Contents/MacOS/Clover && ${NOEXTRAS} != *"Clover Prefpane"* ]]; then
|
# if [[ -x "$cloverPrefpaneDir"/build/Clover.prefPane/Contents/MacOS/Clover && ${NOEXTRAS} != *"Clover Prefpane"* ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user