Update install-64

pull/671/head
Itai Nelken 3 years ago committed by GitHub
parent e1ff48b79f
commit cfde373150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,10 +10,10 @@ function error {
cd $HOME
#remove old deb (if exists)
rm -f gh_1.9.1_linux_arm64.deb
rm -f gh_1.9.2_linux_arm64.deb
#download
wget https://github.com/cli/cli/releases/download/v1.9.2/gh_1.9.2_linux_arm64.deb || error 'Failed to download github-cli!'
wget https://github.com/cli/cli/releases/download/v1.10.0/gh_1.10.0_linux_arm64.deb || error 'Failed to download github-cli!'
#install
sudo apt -fy install ./gh_1.9.2_linux_arm64.deb || error "Failed to install gh!"
sudo apt -fy install ./gh_1.10.0_linux_arm64.deb || error "Failed to install gh!"
#clean up
rm -f gh_1.9.2_linux_arm64.deb
rm -f gh_1.10.0_linux_arm64.deb

Loading…
Cancel
Save