Browse files

if a deb's compression type isn't specified, use gzip.

  • Loading branch information...
1 parent 890d44f commit 0ecf6f9e30334f5187d754a16d4f284b0d89bb53 @mblair mblair committed Jul 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/fpm/package/deb.rb
View
2 lib/fpm/package/deb.rb
@@ -230,7 +230,7 @@ def output(output_path)
# Tar up the staging_path into data.tar.{compression type}
case self.attributes[:deb_compression]
- when "gzip"
+ when "gzip", nil
datatar = build_path("data.tar.gz")
compression = "-z"
when "bzip2"

0 comments on commit 0ecf6f9

Please sign in to comment.