Skip to content

Commit

Permalink
Merge pull request jordansissel#198 from mv/master
Browse files Browse the repository at this point in the history
Warning: already initialized constant
  • Loading branch information
jordansissel committed Apr 25, 2012
2 parents 8f4efb6 + 7333fcb commit d69dd68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/fpm/package/deb.rb
Expand Up @@ -17,7 +17,7 @@ class FPM::Package::Deb < FPM::Package
:after_install => "postinst",
:before_remove => "prerm",
:after_remove => "postrm",
}
} unless defined?(SCRIPT_MAP)

option "--ignore-iteration-in-dependencies", :flag,
"For '=' (equal) dependencies, allow iterations on the specified " \
Expand Down
4 changes: 2 additions & 2 deletions lib/fpm/package/rpm.rb
Expand Up @@ -21,13 +21,13 @@ class FPM::Package::RPM < FPM::Package
"sha256" => 8,
"sha384" => 9,
"sha512" => 10
}
} unless defined?(DIGEST_ALGORITHM_MAP)

COMPRESSION_MAP = {
"xz" => "w2.xzdio",
"gzip" => "w9.gzdio",
"bzip2" => "w9.bzdio"
}
} unless defined?(COMPRESSION_MAP)


option "--rpmbuild-define", "DEFINITION",
Expand Down

0 comments on commit d69dd68

Please sign in to comment.