kitchenplan 2.1.7 → 2.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchenplan/cli.rb +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b9f64ad12dc9eda67be05ccd2fd55a8ed8c8f75
|
4
|
+
data.tar.gz: 863f745ed44f5ae3c39f5e29b1a821497b154894
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2810dad6457a4670d6dce081155f78943762b5eb3fc373c087641d70d9beffae6a7e79b5934bef8e9984e42995eceacae16f53403ce100bf0e539e1f3843c9cb
|
7
|
+
data.tar.gz: 915a3e3e604af68625bbd155302a3febf6e88ebb0de3d07f94ffb3d50087a635382e34a1decceb960b24eb688fed7c8e781d58f0c14908a3f0d608040a9eb2b3
|
data/lib/kitchenplan/cli.rb
CHANGED
@@ -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")
|