Skip to content

Commit

Permalink
Merge pull request #376 from mbakke/master
Browse files Browse the repository at this point in the history
Debian changelog chmod fails
  • Loading branch information
jordansissel committed Mar 20, 2013
2 parents 1f6b84c + 63616e4 commit cf6ee4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fpm/package/deb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ def output(output_path)
dest_changelog = File.join(staging_path, "usr/share/doc/#{attributes[:name]}/changelog.Debian")
FileUtils.mkdir_p(File.dirname(dest_changelog))
FileUtils.cp attributes[:deb_changelog], dest_changelog
safesystem("gzip", dest_changelog)
File.chmod(0644, dest_changelog)
safesystem("gzip", dest_changelog)
end

args = [ tar_cmd, "-C", staging_path, compression ] + tar_flags + [ "-cf", datatar, "." ]
Expand Down

0 comments on commit cf6ee4b

Please sign in to comment.