fpm-fry 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fpm/fry/plugin/init.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a51e880dc026263476f0d4ee2dea2c80f6a9bc3e
4
- data.tar.gz: fb3b23872e55a1ba82ee9cdcc686d2fb34048a04
3
+ metadata.gz: 1a003057b29ec223cd456f6126986791b59720b8
4
+ data.tar.gz: 2fb6802772c2167ba1e3bcf83909d5a9d85c55b9
5
5
  SHA512:
6
- metadata.gz: 711d10fd8ba12c8b9430bf6ed148292215f1e27c375566133eaeb9033e173f68db0d9712cfed1131a7036d6602d2e1a73b3718b13779f979257f03665c0fc614
7
- data.tar.gz: d358c715e886459f2e213c0b99b271d173c813e9e456f5226bbdff641fce08edf75279352e1d0fc37fa2a30b42f3c04c66cfb72eb6c48c15bc79332a61d71fa0
6
+ metadata.gz: f69c6642e5fa3c06a12fa9188c88212cec937d3ced11ab023d34d093acf844bc0cc11cd6b94e6dd7573ffc3d94be7b797496d0b3f316b4c8f74dff195ee32191
7
+ data.tar.gz: 10bc187bbd9efdec6628dc3d9dcbeb5f5314c4bcdad9f9caae4f5e77a41284275feb83e0f977ab9c62ed3dd8ee39d92d3e0f3a9ce88b35add8c967caaa3de3ab
@@ -40,7 +40,7 @@ module FPM::Fry::Plugin::Init
40
40
 
41
41
  private
42
42
  def self.detect(inspector)
43
- if inspector.link_target('/sbin/init') == '/lib/systemd/systemd'
43
+ if inspector.exists?('/lib/systemd/systemd')
44
44
  return System.new(:systemd, {})
45
45
  end
46
46
  if inspector.exists?('/etc/init')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fpm-fry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxime Lagresle
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-12-11 00:00:00.000000000 Z
14
+ date: 2019-01-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: excon