test
This commit is contained in:
parent
f9b89728de
commit
67bbd251ae
@ -19,7 +19,7 @@ topgrade_git_repo="topgrade"
|
||||
if [ ! -f "$topgrade_binary" ]; then
|
||||
echo "** topgrade binary missing, installing now"
|
||||
newest_release_url=$(curl -sL https://api.github.com/repos/$topgrade_git_owner/$topgrade_git_repo/releases/latest | jq -r ".assets[].browser_download_url" | grep x86_64-unknown-linux-gnu.tar.gz)
|
||||
wget $newest_release_url -O "$topgrade_tar"
|
||||
wget $newest_release_url -q -O "$topgrade_tar"
|
||||
tar -xvf $topgrade_tar -C $topgrade_install_directory
|
||||
rm $topgrade_tar
|
||||
chmod +x $topgrade_binary
|
||||
|
||||
Loading…
Reference in New Issue
Block a user