Skip to content

Commit

Permalink
[backend] support raw image publishing in xz format
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Jun 15, 2012
1 parent 92f404e commit 15fd7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/bs_publish
Expand Up @@ -1053,7 +1053,7 @@ sub publish {
} else {
if ($bin =~ /\.iso(:?\.sha256)?$/) {
$p = "iso/$bin";
} elsif ($bin =~ /\.raw\.bz2(:?\.sha256)?$/) {
} elsif ($bin =~ /\.raw\.(:?gz|bz2|xz)(:?\.sha256)?$/) {
$p = "$bin";
} elsif ($bin =~ /\.raw(:?\.install)?(:?\.sha256)?$/) {
$p = "$bin";
Expand Down

0 comments on commit 15fd7dd

Please sign in to comment.