Skip to content

Commit

Permalink
Fixed self-update url
Browse files Browse the repository at this point in the history
  • Loading branch information
dgil committed May 25, 2016
1 parent ef1fa4a commit 3f8b6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion captain.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func SelfUpdate() {

info("Checking the last version of Captain...")
version := findLastVersion()
downloadUrl := fmt.Sprintf("https://github.com/harbur/captain/releases/download/%s/captain-%s-%s", version, kernel, arch)
downloadUrl := fmt.Sprintf("https://github.com/harbur/captain/releases/download/%s/captain_%s_%s", version, kernel, arch)
downloadedVersionPath := filepath.FromSlash(binariesDir + "/captain-" + version)

if currentVersionPath == downloadedVersionPath {
Expand Down

0 comments on commit 3f8b6d0

Please sign in to comment.