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