From c6184e3fb72c017fa0c4ffd70f9bbb23d1770d0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 28 May 2020 16:27:23 +0200
Subject: [PATCH] macOS package: use a package identifier that matches the
 dynare.org domain-name

---
 macOS/build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/macOS/build.sh b/macOS/build.sh
index a39091bfb0..2539c52a95 100755
--- a/macOS/build.sh
+++ b/macOS/build.sh
@@ -175,12 +175,12 @@ echo -e "function v = supported_octave_version\nv=\"$OCTAVE_VERSION\";\nend" > "
 cd "$ROOTDIR"/macOS/pkg
 
 # Dynare option
-pkgbuild --root "$PKGFILES" --identifier com.cepremap.dynare --version "$VERSION" --install-location /Applications/Dynare/"$LOCATION" "$NAME".pkg
+pkgbuild --root "$PKGFILES" --identifier org.dynare --version "$VERSION" --install-location /Applications/Dynare/"$LOCATION" "$NAME".pkg
 
 # GCC option
 # Create dummy payload for GCC package; otherwise the size is displayed as 0 bytes in the installer
 dd if=/dev/zero of="$ROOTDIR"/macOS/brewfiles/dummy  bs=1m  count=800
-pkgbuild --root "$ROOTDIR"/macOS/brewfiles --identifier com.cepremap.dynare.gcc --version "$VERSION" --scripts "$ROOTDIR"/macOS/scripts --install-location /Applications/Dynare/"$LOCATION" "$NAME"-gcc.pkg
+pkgbuild --root "$ROOTDIR"/macOS/brewfiles --identifier org.dynare.gcc --version "$VERSION" --scripts "$ROOTDIR"/macOS/scripts --install-location /Applications/Dynare/"$LOCATION" "$NAME"-gcc.pkg
 
 # Replace variables in displayed files
 sed "s/VERSION_READ/$VERSION/g" "$ROOTDIR"/macOS/distribution_template.xml > distribution_tmp.xml
-- 
GitLab