Skip to content

Commit

Permalink
fix: do not remove backup in bootstrap (#42)
Browse files Browse the repository at this point in the history
* do not remove backup in bootstrap
* fix execution bit on some scripts
* use homebrew to install kind
  • Loading branch information
dmccaffery authored Jan 12, 2020
1 parent 70508e6 commit 9b02c2f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ __am_prompt_update()
return 0
fi

remove-backup

local PROMPT_CHANGELOG_URI="https://github.com/automotivemastermind/prompt/blob/$PROMPT_COMMIT_REF/CHANGELOG.md"
local PROMPT_INSTALL_URI="https://github.com/automotiveMastermind/prompt/archive/$PROMPT_COMMIT_REF.tar.gz"
local PROMPT_INTALL_TEMP=$(mktemp -d)
Expand Down
Empty file modified src/sh/scripts/git-release
100644 → 100755
Empty file.
12 changes: 2 additions & 10 deletions src/sh/scripts/kind-install
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,8 @@ __am_kind_prompt_install() {
return 0
fi

# get the uname for the platform and the latest version of kind
local UNAME=$(uname | tr '[:upper:]' '[:lower:]')
local KIND_VERSION=$(git-release kubernetes-sigs kind)
local KIND_URL=https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-${UNAME}-amd64

# download the assembly to the bin
curl -Lso $LOCAL_PREFIX/kind $KIND_URL

# make it executable
chmod +x $LOCAL_PREFIX/kind
# install kind with homebrew now that its available there
brew install kind
}

__am_kind_prompt_install
Empty file modified src/zsh/zshrc
100644 → 100755
Empty file.

0 comments on commit 9b02c2f

Please sign in to comment.