From 401544f68f387e8b18982eec214a04a4ddbb4039 Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Wed, 12 Jul 2023 01:02:02 +0200 Subject: [PATCH] Ports: Remove the separate branch for extracting .tar.gz files This can just use the default `tar` invocation, which successfully recognizes the type automatically. In fact, `.tar.gz` and `.tgz` are already listed by that particular case anyways. --- Ports/.port_include.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Ports/.port_include.sh b/Ports/.port_include.sh index a7b9b4d6e5..26cf06676a 100755 --- a/Ports/.port_include.sh +++ b/Ports/.port_include.sh @@ -364,10 +364,6 @@ fetch() { if [ ! -f "$workdir"/.${filename}_extracted ]; then case "$filename" in - *.tar.gz|*.tgz) - run_nocd tar -xzf "${PORT_META_DIR}/${filename}" - run touch .${filename}_extracted - ;; *.tar.gz|*.tar.bz|*.tar.bz2|*.tar.xz|*.tar.lz|*.tar.zst|.tbz*|*.txz|*.tgz) run_nocd tar -xf "${PORT_META_DIR}/${filename}" run touch .${filename}_extracted