fpm 0.2.33 → 0.2.34
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fpm/target/solaris.rb +3 -0
- metadata +3 -3
data/lib/fpm/target/solaris.rb
CHANGED
@@ -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:
|
4
|
+
hash: 83
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 34
|
10
|
+
version: 0.2.34
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jordan Sissel
|