summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-02 19:59:27 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-02 19:59:27 +0200
commit88ad1ed243572b5310a4e866e87a61e8d8c8969e (patch)
tree862b4f6819bc60c46567df0307b00eab25781d33
parentadb99e6746e704606d1cfe065d9b52d09369d823 (diff)
Try unloading the old disk writer on install (may fix #1738).
-rw-r--r--platform/osx/make_dmg.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh
index dfac33d46..b4a4488df 100644
--- a/platform/osx/make_dmg.sh
+++ b/platform/osx/make_dmg.sh
@@ -564,6 +564,7 @@ relink_absolute "/Library/Application Support/com.dcpomatic" "${rl[@]}"
mkdir $pkgbase/scripts
cat > $pkgbase/scripts/postinstall <<EOF
#!/bin/sh
+/bin/launchctl unload "/Library/LaunchDaemons/com.dcpomatic.disk.writer.plist"
/bin/launchctl load "/Library/LaunchDaemons/com.dcpomatic.disk.writer.plist"
exit 0
EOF