fpm 0.2.33 → 0.2.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/fpm/target/solaris.rb +3 -0
  2. metadata +3 -3
@@ -54,6 +54,9 @@ class FPM::Target::Solaris < FPM::Package
54
54
  # TODO(sissel): allow setting default file owner.
55
55
  File.open("Prototype", "w") do |prototype|
56
56
  prototype.puts("i pkginfo")
57
+ prototype.puts("i preinstall") if self.scripts["pre-install"]
58
+ prototype.puts("i postinstall") if self.scripts["post-install"]
59
+
57
60
  # TODO(sissel): preinstall/postinstall
58
61
  IO.popen("pkgproto data=/").each_line do |line|
59
62
  type, klass, path, mode, user, group = line.split
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fpm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 85
4
+ hash: 83
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 33
10
- version: 0.2.33
9
+ - 34
10
+ version: 0.2.34
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordan Sissel