We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69cb62d commit 6628f17Copy full SHA for 6628f17
lib/fpm/package/dir.rb
@@ -83,8 +83,8 @@ def input(path)
83
# can include license data from themselves (rpms, gems, etc),
84
# but to make sure a simple dir -> rpm works without having
85
# to specify a license.
86
- self.license = "unknown"
87
- self.vendor = [ENV["USER"], Socket.gethostname].join("@")
+ self.license ||= "unknown"
+ self.vendor ||= [ENV["USER"], Socket.gethostname].join("@")
88
ensure
89
# Clean up any logger context we added.
90
logger.remove("method")
0 commit comments