Browse files distribute package file without zip wrapper

I've now configured the web servers (both nginx and Apache) to serve
".pkg" files with a MIME type of "application/octet-stream" instead of
the default "text/plain". This means that it is no longer necessary to
wrap them up inside zip archives to prevent them from being
inappropriately displayed in the user's browser window rather than
downloaded to disk.

So, drop the zip wrapper and instead just give the package a unique
name. Flat packages are compressed in any case, so the download size
should be basically the same, give or take a few bytes.

This commit is the equivalent of the change made in 17fb9e0 in Wincent
Icon Utility.

Signed-off-by: Wincent Colaiuta <>
  • Loading branch information...
wincent committed Aug 29, 2009
1 parent 7336c47 commit 33b56c0a3463faf0ac22a71696cfff0065fc922c
Showing with 3 additions and 4 deletions.
  1. +3 −4
@@ -20,10 +20,9 @@ if [ -z "$TAGGED" ]; then
-# prep binary -> zip installer pkg
- "$BUILT_PRODUCTS_DIR/WincentStringsUtility.pkg"
+# give installer package unique name prior to uploading
+mv "$BUILT_PRODUCTS_DIR/WincentStringsUtility.pkg" \
# prep source archive

0 comments on commit 33b56c0

Please sign in to comment.