mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +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:
parent
58cf3b365e
commit
401544f68f
1 changed files with 0 additions and 4 deletions
|
@ -364,10 +364,6 @@ fetch() {
|
||||||
|
|
||||||
if [ ! -f "$workdir"/.${filename}_extracted ]; then
|
if [ ! -f "$workdir"/.${filename}_extracted ]; then
|
||||||
case "$filename" in
|
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)
|
*.tar.gz|*.tar.bz|*.tar.bz2|*.tar.xz|*.tar.lz|*.tar.zst|.tbz*|*.txz|*.tgz)
|
||||||
run_nocd tar -xf "${PORT_META_DIR}/${filename}"
|
run_nocd tar -xf "${PORT_META_DIR}/${filename}"
|
||||||
run touch .${filename}_extracted
|
run touch .${filename}_extracted
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue