Compress the dmg with bzip2 rather than zlib

Reduces size by ~7%.

Originally committed to SVN as r6836.
This commit is contained in:
Thomas Goyne 2012-05-19 16:22:16 +00:00
parent 35279b6e28
commit 9f9e273de2
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ echo "---- Detaching ----"
echo
echo "---- Compressing ----"
/usr/bin/hdiutil convert "${PKG_NAME_RW}" -format UDZO -imagekey zlib-level=9 -o "${PKG_NAME}.dmg" || exit $?
/usr/bin/hdiutil convert "${PKG_NAME_RW}" -format UDBZ -imagekey bzip2-level=9 -o "${PKG_NAME}.dmg" || exit $?
echo
echo "---- Removing \"${TMP_DMG}\", \"${PKG_NAME_RW}\" ----"