andymatuschak/TestMigration — Issue #35: Support for flat .pkg files that are not compressed
Author: andymatuschak
Created: 2011-10-23 16:36:08+00:00
State: open

***martoche (martin-ottenwaelter)** [reported (on Launchpad)](https://bugs.launchpad.net/sparkle/+bug/342901) on' 2009-03-14:*

Mac OS X 10.5 introduced flat .pkg files that are already compressed. It
doesn't make sense to .zip or .tar.gz a flat .pkg file, they can be
downloaded as-is.

Sparkle assumes that all downloaded files should be unarchived, which is
not the case for a flat .pkg file.

Attached to this report is a patch that solves the problem. The patch
consists in one new class "SUNoOpUnarchiver" which is a SUUnarchiver
subclass that registers itself as the unarchiver for flat .pkg files,
but does nothing when asked to unarchive the file.