diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-27 09:09:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-27 09:09:50 +0100 |
commit | 2be230a2a252e8e744f11a8b38e9a0097ddc9b25 (patch) | |
tree | c7c6cd81169223a110c28f74dfc1b82b3f52bcb1 /app-admin/drush/files/drush-6.7.0-gzip-mime.patch | |
parent | 8d3ae5c288a62253ed3bc3d71336bf2061cfdb51 (diff) |
gentoo auto-resync : 27:09:2022 - 09:09:50
Diffstat (limited to 'app-admin/drush/files/drush-6.7.0-gzip-mime.patch')
-rw-r--r-- | app-admin/drush/files/drush-6.7.0-gzip-mime.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app-admin/drush/files/drush-6.7.0-gzip-mime.patch b/app-admin/drush/files/drush-6.7.0-gzip-mime.patch new file mode 100644 index 000000000000..53601c80fbda --- /dev/null +++ b/app-admin/drush/files/drush-6.7.0-gzip-mime.patch @@ -0,0 +1,25 @@ +From 48a16a67ec072428339cc165743fedab6264edfe Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Mon, 26 Sep 2022 20:01:41 -0400 +Subject: [PATCH 1/4] includes/drush.inc: support application/gzip MIME type. + +This type is actually registered, as opposed to application/x-gzip. +--- + includes/drush.inc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/includes/drush.inc b/includes/drush.inc +index f869b37..a748a0c 100644 +--- a/includes/drush.inc ++++ b/includes/drush.inc +@@ -930,6 +930,7 @@ function drush_file_is_tarball($path) { + $content_type = drush_mime_content_type($path); + $supported = array( + 'application/x-bzip2', ++ 'application/gzip', + 'application/x-gzip', + 'application/x-tar', + 'application/x-zip', +-- +2.35.1 + |