Skip to content

Commit

Permalink
Merge pull request #47 from gardenlinux/fix/46-handle-bz2-tarball
Browse files Browse the repository at this point in the history
Added bz2 format to auto_decompress().
  • Loading branch information
alee-ntap authored Dec 5, 2023
2 parents 0750e60 + c07cd67 commit 5a6ef00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions container/bin/build_source
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ native_source() (

auto_decompress() (
case "${1##*.}" in
bz2)
bzip2 -d < "$1"
;;
gz)
gzip -d < "$1"
;;
Expand Down

0 comments on commit 5a6ef00

Please sign in to comment.