From 80103604e4ba7b6c7ce927d5e736fd62d39cef9b Mon Sep 17 00:00:00 2001 From: Guillaume Bougard Date: Wed, 8 Nov 2023 17:33:52 +0100 Subject: [PATCH] build: Use our dedicated branch of fully updated munkipkg script --- contrib/macosx/glpi-agent-packaging.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/contrib/macosx/glpi-agent-packaging.sh b/contrib/macosx/glpi-agent-packaging.sh index a91a4dcba..1e354ff63 100755 --- a/contrib/macosx/glpi-agent-packaging.sh +++ b/contrib/macosx/glpi-agent-packaging.sh @@ -90,17 +90,16 @@ export MACOSX_DEPLOYMENT_TARGET BUILD_PREFIX="/Applications/GLPI-Agent" -# We uses munkipkg script to simplify the process -# Thanks to notarytool branch in https://github.com/munki/munki-pkg project +# We uses a modified munkipkg script to simplify the process +# The modification targets notarytool support & distribution build +# Get munkipkg from a modified version of https://github.com/munki/munki-pkg project's notarytool branch if [ ! -e munkipkg ]; then - echo "Downloading munkipkg script..." - curl -so munkipkg https://raw.githubusercontent.com/munki/munki-pkg/notarytool/munkipkg + echo "Downloading modified munkipkg script..." + curl -so munkipkg https://raw.githubusercontent.com/g-bougard/munki-pkg/used-by-glpi-agent/munkipkg if [ ! -e munkipkg ]; then echo "Failed to download munkipkg script" >&2 exit 3 fi - # Use our patch to tune productbuild and notarization with other required parameters - [ -e munkipkg.patch ] && patch < munkipkg.patch chmod +x munkipkg fi