Skip to content

Commit

Permalink
[backend] Add support for xz compressed tarballs
Browse files Browse the repository at this point in the history
  Debian sources are also compressed in xz format.

Signed-off-by: Hector Oron <hector.oron@collabora.co.uk>
  • Loading branch information
Hector Oron authored and adrianschroeter committed Mar 19, 2012
1 parent a0e126d commit fd41257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_publish
Expand Up @@ -1034,7 +1034,7 @@ sub publish {
$p = "$bin";
} elsif ($bin =~ /\.raw(:?\.install)?(:?\.sha256)?$/) {
$p = "$bin";
} elsif ($bin =~ /\.tar\.(:?gz|bz2)(:?\.sha256)?$/) {
} elsif ($bin =~ /\.tar\.(:?gz|bz2|xz)(:?\.sha256)?$/) {
$p = "$bin";
} elsif ($bin =~ /\.ovf(:?\.sha256)?$/) {
$p = "$bin";
Expand Down

0 comments on commit fd41257

Please sign in to comment.