Skip to content

Commit

Permalink
build: Use our dedicated branch of fully updated munkipkg script
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Nov 8, 2023
1 parent a19b776 commit 8010360
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions contrib/macosx/glpi-agent-packaging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8010360

Please sign in to comment.