Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a bug introduced in 0.4.11 that caused all deb packages to contai…

…n empty maintainer scripts if not otherwise specified, which made apt/dpkg quite unhappy
  • Loading branch information...
commit 0cdfeef7930c6e7242a869cfe4db1d386c077b77 1 parent f25a0e3
@jordansissel authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/fpm/package/deb.rb
View
2  lib/fpm/package/deb.rb
@@ -394,7 +394,7 @@ def write_control
# 'post_install' names
def write_scripts
SCRIPT_MAP.each do |scriptname, filename|
- next if script?(scriptname).nil?
+ next unless script?(scriptname)
with(control_path(filename)) do |controlscript|
@logger.debug("Writing control script", :source => filename, :target => controlscript)
Please sign in to comment.
Something went wrong with that request. Please try again.