Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
chocolatey-cookbook
Commits
4b0b0386
Commit
4b0b0386
authored
Apr 09, 2018
by
Tim Smith
Browse files
Use the our platform_family helper
Signed-off-by:
Tim Smith
<
tsmith@chef.io
>
parent
aefa6350
Changes
1
Hide whitespace changes
Inline
Side-by-side
recipes/default.rb
View file @
4b0b0386
...
...
@@ -18,7 +18,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
unless
node
[
'
platform_family
'
]
==
'windows'
unless
platform_family
?
(
'windows'
)
return
"Chocolatey install not supported on
#{
node
[
'platform_family'
]
}
"
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment