Skip to content

Commit

Permalink
Update install.sh (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
kev-ms authored Feb 6, 2023
1 parent bb090fb commit e8ba0e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vm/setup/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ curl -s https://fluxcd.io/install.sh | sudo bash

echo "$(date +'%Y-%m-%d %H:%M:%S') installing k9s" >> "$HOME/status"
VERSION=$(curl -i https://github.com/derailed/k9s/releases/latest | grep "location: https://github.com/" | rev | cut -f 1 -d / | rev | sed 's/\r//')
wget "https://github.com/derailed/k9s/releases/download/${VERSION}/k9s_Linux_x86_64.tar.gz"
sudo tar -zxvf k9s_Linux_x86_64.tar.gz -C /usr/local/bin
rm -f k9s_Linux_x86_64.tar.gz
wget "https://github.com/derailed/k9s/releases/download/${VERSION}/k9s_Linux_amd64.tar.gz"
sudo tar -zxvf k9s_Linux_amd64.tar.gz -C /usr/local/bin
rm -f k9s_Linux_amd64.tar.gz

mkdir -p "$HOME/.oh-my-zsh/completions"
flux completion zsh > "$HOME/.oh-my-zsh/completions/_flux"
Expand Down

0 comments on commit e8ba0e0

Please sign in to comment.