Package manager's wget handler assumes .tar.gz as the extension. Packages with the .tgz extension therefore cause drush pm-download to fail ungracefully.

(Notably, packages generated by the Features module use .tgz).

The attached patch allows both .tar.gz and .tgz extensions to work.

CommentFileSizeAuthor
#1 758594.patch768 bytesbryan.cribbs
drush-pm-allow-tgz.patch769 bytesbryan.cribbs

Comments

bryan.cribbs’s picture

StatusFileSize
new768 bytes

I'm very sorry, I attached the wrong patch file. This is the working patch. (Tested against a local Features Server, and tested with downloads from the official drupal contrib).

moshe weitzman’s picture

Status: Needs review » Fixed

committed. thx.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.