Skip to content

Instantly share code, notes, and snippets.

@leepa
Created February 18, 2010 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leepa/307740 to your computer and use it in GitHub Desktop.
Save leepa/307740 to your computer and use it in GitHub Desktop.
class PkgCurlDownloadStrategy <CurlDownloadStrategy
def stage
safe_system '/usr/sbin/pkgutil', '--extract', @tarball_path, File.basename(@url)
chdir
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment