Skip to content

Commit

Permalink
Set default to 'gz' (fixes broken tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Jan 10, 2014
1 parent ff73cde commit 142c189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package/deb.rb
Expand Up @@ -41,7 +41,7 @@ class FPM::Package::Deb < FPM::Package
end

option "--compression", "COMPRESSION", "The compression type to use, must " \
"be one of #{COMPRESSION_TYPES.join(", ")}.", :default => "gzip" do |value|
"be one of #{COMPRESSION_TYPES.join(", ")}.", :default => "gz" do |value|
if !COMPRESSION_TYPES.include?(value)
raise ArgumentError, "deb compression value of '#{value}' is invalid. " \
"Must be one of #{COMPRESSION_TYPES.join(", ")}"
Expand Down

0 comments on commit 142c189

Please sign in to comment.