Skip to content

Commit ab1869f

Browse files
authored
tools.func: recognize bare XZ-compressed tarballs in fetch_and_deploy* (#16796)
1 parent e470b6d commit ab1869f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

misc/tools.func

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9394,6 +9394,8 @@ fetch_and_deploy_from_url() {
93949394
93959395
if [[ "$file_desc" =~ gzip.*compressed|gzip\ compressed\ data ]]; then
93969396
archive_type="tar"
9397+
elif [[ "$file_desc" =~ XZ\ compressed\ data ]]; then
9398+
archive_type="tar"
93979399
elif [[ "$file_desc" =~ Zip.*archive|ZIP\ archive ]]; then
93989400
archive_type="zip"
93999401
elif [[ "$file_desc" =~ Debian.*package|Debian\ binary\ package ]]; then

0 commit comments

Comments
 (0)