Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Fix another install issue on Mac (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
johndevs committed Mar 28, 2019
1 parent 5118376 commit dea4639
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/groovy/com/devsoap/fn/tasks/FnInstallCliTask.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ class FnInstallCliTask extends DefaultTask {
String tag = latest['tag_name']

URL downloadLink
if (Os.isFamily(Os.FAMILY_UNIX)) {
downloadLink = "$DOWNLOAD_API/$tag/fn_linux".toURL()
} else if (Os.isFamily(Os.FAMILY_MAC)) {
if (Os.isFamily(Os.FAMILY_MAC)) {
downloadLink = "$DOWNLOAD_API/$tag/fn_mac".toURL()
} else if (Os.isFamily(Os.FAMILY_UNIX)) {
downloadLink = "$DOWNLOAD_API/$tag/fn_linux".toURL()
} else if (Os.isFamily(Os.FAMILY_WINDOWS)) {
downloadLink = "$DOWNLOAD_API/$tag/fn.exe".toURL()
} else {
Expand Down

0 comments on commit dea4639

Please sign in to comment.