Skip to content

Commit

Permalink
Ports: Remove the separate branch for extracting .tar.gz files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
timschumi authored and awesomekling committed Jul 13, 2023
1 parent 58cf3b3 commit 401544f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Ports/.port_include.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 401544f

Please sign in to comment.