13
0

tweak OS X packaging for 10.9

This commit is contained in:
Robin Gareus 2015-03-10 01:41:52 +01:00
parent db8406dc4a
commit 8de9ee32a2

View File

@ -739,9 +739,9 @@ sync
set -e
echo "compressing Image ..."
# Umount the image
umount "${DiskDevice}"
hdiutil eject "${DiskDevice}"
# Umount the image ('eject' above may already have done that)
umount "${DiskDevice}" || true
hdiutil eject "${DiskDevice}" || true
# Create a read-only version, use zlib compression
hdiutil convert -format UDZO "${TMPDMG}" -imagekey zlib-level=9 -o "${UC_DMG}"