[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r3338: Force the symlink to Applications in the dmg, and force UDZO (vidalia/trunk/pkg/osx)



Author: phobos
Date: 2008-11-21 23:34:51 -0500 (Fri, 21 Nov 2008)
New Revision: 3338

Modified:
   vidalia/trunk/pkg/osx/builddmg.sh.in
Log:
Force the symlink to Applications in the dmg, and force UDZO to use
level 9 compression.


Modified: vidalia/trunk/pkg/osx/builddmg.sh.in
===================================================================
--- vidalia/trunk/pkg/osx/builddmg.sh.in	2008-11-22 04:28:27 UTC (rev 3337)
+++ vidalia/trunk/pkg/osx/builddmg.sh.in	2008-11-22 04:34:51 UTC (rev 3338)
@@ -74,8 +74,9 @@
   echo "Copying $srcdir/$file to $BUILD_DIR/$file"
   cp -r "$srcdir/$file" "$BUILD_DIR/$file"
 done
+ln -s /Applications $BUILD_DIR/Applications
 
 # Create the disk image
-hdiutil create -format UDZO -srcfolder "$BUILD_DIR" -volname "$volname" "$DMG"
+hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder "$BUILD_DIR" -volname "$volname" "$DMG"
 rm -rf "$BUILD_DIR"