This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=07b2b3af74f0699b0cb76431be062c3479fc06ec

commit 07b2b3af74f0699b0cb76431be062c3479fc06ec
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Thu May 4 23:55:52 2023 +0200

    dselect: Remove handling of .GZ, .Z and .z compressed Package files
    
    These are either extensions for the compress format, which we do not
    support, or uppercase variants for the gzip format, which are just
    unexpected to be found on repositories.
---
 dselect/methods/file/update.sh  | 2 +-
 dselect/methods/media/update.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dselect/methods/file/update.sh b/dselect/methods/file/update.sh
index c0937cc94..3784ffe40 100755
--- a/dselect/methods/file/update.sh
+++ b/dselect/methods/file/update.sh
@@ -60,7 +60,7 @@ for f in main ctb nf lcl; do
   *)
     packagesfile="$p_mountpoint$this_packages"
     case "$packagesfile" in
-    *.gz | *.Z | *.GZ | *.z)
+    *.gz)
       echo -n "Uncompressing $packagesfile ... "
       zcat <"$packagesfile" >packages-$f
       echo done.
diff --git a/dselect/methods/media/update.sh b/dselect/methods/media/update.sh
index 524cf073d..f0a703f40 100755
--- a/dselect/methods/media/update.sh
+++ b/dselect/methods/media/update.sh
@@ -95,7 +95,7 @@ for f in main ctb nf lcl; do
   *)
     packagesfile="$p_mountpoint$this_packages"
     case "$packagesfile" in
-    *.gz | *.Z | *.GZ | *.z)
+    *.gz)
       echo -n "Uncompressing $packagesfile ... "
       zcat <"$packagesfile" >packages-$f
       echo done.

-- 
Dpkg.Org's dpkg

Reply via email to