Update install-64

pull/906/head
Jai A P 3 years ago committed by GitHub
parent bb28bec88f
commit afb0db96c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,14 +9,16 @@ function error {
cd $HOME
VERSION=1.14.0
#remove old deb (if exists)
rm -f ~/gh.deb
#download
wget -O ~/gh.deb https://github.com/cli/cli/releases/download/v1.13.1/gh_1.13.1_linux_arm64.deb || error 'Failed to download github-cli!'
wget -O ~/gh.deb https://github.com/cli/cli/releases/download/v${VERSION}/gh_${VERSION}_linux_arm64.deb || error 'Failed to download github-cli!'
#install
"${DIRECTORY}/pkg-install" "$HOME/gh.deb" "$(dirname "$0")" || error "Failed to install turbowarp.deb!"
"${DIRECTORY}/pkg-install" "$HOME/gh.deb" "$(dirname "$0")" || error "Failed to install gh.deb!"
#clean up
rm -f ~/gh.deb

Loading…
Cancel
Save