kitchenplan 2.1.7 → 2.1.8

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/kitchenplan/cli.rb +3 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f56a2da9480d5e6040e51ca6fd1533e13ae59c43
4
- data.tar.gz: f5181f03e7b6bf876f42f80ec607f2acfcc63a98
3
+ metadata.gz: 3b9f64ad12dc9eda67be05ccd2fd55a8ed8c8f75
4
+ data.tar.gz: 863f745ed44f5ae3c39f5e29b1a821497b154894
5
5
  SHA512:
6
- metadata.gz: 727669fb09bf0dcde464a87d2a2fc8e86d0ced97d6a5bb700c7f643eeeb34d5b0be35f1fe771a0287fd2e8c82b4832c5d9a16c4c506649a46689e17d0e72206e
7
- data.tar.gz: 9d0aa1daa670fc2f9b9fdafa7de580154659971659890bb327a505c7a01e9f5eb8edb28ef9062f677225aafdacc6e77c3e1d5a99b1a5b0a11568ef7a71f5cd7b
6
+ metadata.gz: 2810dad6457a4670d6dce081155f78943762b5eb3fc373c087641d70d9beffae6a7e79b5934bef8e9984e42995eceacae16f53403ce100bf0e539e1f3843c9cb
7
+ data.tar.gz: 915a3e3e604af68625bbd155302a3febf6e88ebb0de3d07f94ffb3d50087a635382e34a1decceb960b24eb688fed7c8e781d58f0c14908a3f0d608040a9eb2b3
@@ -197,6 +197,9 @@ module Kitchenplan
197
197
  print_step('Installing XCode CLT')
198
198
  osx_ver = dorun('sw_vers -productVersion | awk -F "." \'{print $2}\'', true).to_i
199
199
  if osx_ver >= 9
200
+ if osx_ver >= 10
201
+ print_failure('Until CLT is available via softwareupdate, please install both the CLT and XCode from https://developer.apple.com')
202
+ end
200
203
  dorun('touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress')
201
204
  prod = dorun('softwareupdate -l | grep -B 1 "Developer" | head -n 1 | awk -F"*" \'{print $2}\'', true)
202
205
  dorun("softwareupdate -i #{prod} -v")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchenplan
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.7
4
+ version: 2.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roderik van der Veer