rconf 0.8.19 → 0.8.20

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.
@@ -87,7 +87,8 @@ module RightConf
87
87
  packages.each do |p|
88
88
  args = [ p ]
89
89
  args << opts if opts
90
- installed = Command.execute('brew', 'install', *args).success?
90
+ res = Command.execute('brew', 'install', *args)
91
+ installed = res.success? && res.output !~ /Formula already installed/
91
92
  Command.sudo('brew', 'link', p) if installed
92
93
  end
93
94
  end
data/lib/rconf/version.rb CHANGED
@@ -13,7 +13,7 @@ module RightConf
13
13
 
14
14
  MAJOR = 0
15
15
  MINOR = 8
16
- BUILD = 19
16
+ BUILD = 20
17
17
 
18
18
  VERSION = [MAJOR, MINOR, BUILD].map(&:to_s).join('.')
19
19
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 8
8
- - 19
9
- version: 0.8.19
8
+ - 20
9
+ version: 0.8.20
10
10
  platform: ruby
11
11
  authors:
12
12
  - Raphael Simon