promotion 1.4.5 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == Verison 1.4.6
2
+ - Made generator/rcconf respect previously-defined pkg_scripts
3
+
1
4
  == Version 1.4.5
2
5
  - Fixed defect whereby a user with multiple groups would not be created
3
6
 
@@ -132,6 +132,7 @@ class Enforcer
132
132
  user2 = Etc.getpwnam(name)
133
133
  raise unless user1 == user2
134
134
  $log.info("User #{name}(#{uid}) already exists.")
135
+ # FIXME: can we enforce group memberships, and other details /etc/passwd
135
136
  rescue
136
137
  return(false)
137
138
  end
@@ -40,9 +40,8 @@ module Rcconf
40
40
  pkgScripts << name
41
41
  }
42
42
  }
43
- contents << "# rc.d(8) packages scripts\n"
44
- contents << "# started in the specified order and stopped in reverse order\n"
45
- contents << "pkg_scripts=\"#{pkgScripts.join(" ")}\" \n"
43
+ contents << "\n# rc.d(8) packages scripts, started in the specified order and stopped in reverse order\n"
44
+ contents << "pkg_scripts=\"${pkg_scripts} #{pkgScripts.join(" ")}\" \n"
46
45
  return(contents.join(""))
47
46
  end
48
47
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promotion
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 5
10
- version: 1.4.5
9
+ - 6
10
+ version: 1.4.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Richard Kernahan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-09-20 00:00:00 Z
18
+ date: 2013-10-18 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: log4r