Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed warnings: CONSTANT already defined.

  • Loading branch information...
commit 7333fcb8bb834829fd5aa58b26c0e7e04e299493 1 parent 476f6d1
@mv mv authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  lib/fpm/package/deb.rb
  2. +2 −2 lib/fpm/package/rpm.rb
View
2  lib/fpm/package/deb.rb
@@ -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 " \
View
4 lib/fpm/package/rpm.rb
@@ -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",
Please sign in to comment.
Something went wrong with that request. Please try again.