1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:07:45 +00:00

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.
This commit is contained in:
Tim Schumacher 2023-07-12 01:02:02 +02:00 committed by Andreas Kling
parent 58cf3b365e
commit 401544f68f

View file

@ -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