fpm 0.4.11 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELIST +5 -2
  2. data/lib/fpm/package/deb.rb +1 -1
  3. metadata +2 -2
data/CHANGELIST CHANGED
@@ -1,6 +1,9 @@
1
+ 0.4.12 (August 10, 2012)
2
+ - Fix a major bug introduced in 0.4.11 that caused all deb packages to
3
+ contain empty maintainer scripts if not otherwise specified, which made
4
+ apt/dpkg quite unhappy
5
+
1
6
  0.4.11 (August 7, 2012)
2
- - Support different compression types on deb packages (default gzip,
3
- alternates xz and bzip2)
4
7
  - Fix some symlink handling to prevent links from being followed during
5
8
  cleanup (#228, patch by sbuss)
6
9
  - rpm: 'vendor' in rpm spec is now omitted if empty or nil. This fixes a bug
@@ -394,7 +394,7 @@ class FPM::Package::Deb < FPM::Package
394
394
  # 'post_install' names
395
395
  def write_scripts
396
396
  SCRIPT_MAP.each do |scriptname, filename|
397
- next if script?(scriptname).nil?
397
+ next unless script?(scriptname)
398
398
 
399
399
  with(control_path(filename)) do |controlscript|
400
400
  @logger.debug("Writing control script", :source => filename, :target => controlscript)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fpm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-07 00:00:00.000000000 Z
12
+ date: 2012-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json