gentoo-ebuilds/app-admin/drush/files/drush-6.7.0-gzip-mime.patch
Michael Orlitzky 06d8c8e98a
app-admin/drush: new revision with better php8 support and a bugfix.
Closes: https://bugs.gentoo.org/865483
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
2022-09-26 21:23:04 -04:00

25 lines
775 B
Diff

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