mirror of
https://github.com/jordansissel/fpm
synced 2025-04-29 14:58:00 +02:00
the checksum method is now owned by builder
This commit is contained in:
parent
ad9e975014
commit
2427320200
@ -103,13 +103,6 @@ class FPM::Package
|
||||
md5sums
|
||||
end
|
||||
|
||||
def checksum(paths)
|
||||
md5sums = []
|
||||
paths.each do |path|
|
||||
md5sums += %x{find #{path} -type f -print0 | xargs -0 md5sum}.split("\n")
|
||||
end
|
||||
end # def checksum
|
||||
|
||||
# TODO [Jay]: make this better...?
|
||||
def type
|
||||
self.class.name.split(':').last.downcase
|
||||
|
Loading…
Reference in New Issue
Block a user