no need to delete the file twice (moved to package.rb:84)
This commit is contained in:
parent
d9bd870af4
commit
701e77c346
|
|
@ -27,7 +27,6 @@ class FPM::Deb < FPM::Package
|
|||
File.open("debian-binary", "w") { |f| f.puts "2.0" }
|
||||
|
||||
# pack up the .deb
|
||||
File.delete(output) if File.exists?(output)
|
||||
system("ar -qc #{params["output"]} debian-binary control.tar.gz data.tar.gz")
|
||||
|
||||
end # def build
|
||||
|
|
|
|||
Loading…
Reference in New Issue