test
This commit is contained in:
parent
4876a77312
commit
0e900c29cb
@ -18,7 +18,8 @@ topgrade_git_user="r-darwish"
|
|||||||
topgrade_git_repo="topgrade"
|
topgrade_git_repo="topgrade"
|
||||||
if [ ! -f "$topgrade_binary" ]; then
|
if [ ! -f "$topgrade_binary" ]; then
|
||||||
echo "** topgrade binary missing, installing now"
|
echo "** topgrade binary missing, installing now"
|
||||||
curl -s -L "https://github.com/$topgrade_git_user/$topgrade_git_repo/releases/latest" | egrep -o '/$topgrade_git_user/$topgrade_git_repo/releases/download/[0-9]*/[0-9]*-x86_64-unknown-linux-gnu.tar.gz' | wget --base=http://github.com/ -i - -O "$topgrade_tar"
|
wget "https://github.com/r-darwish/topgrade/releases/download/v8.2.0/topgrade-v8.2.0-x86_64-unknown-linux-gnu.tar.gz" -O "$topgrade_tar"
|
||||||
|
# curl -s -L "https://github.com/$topgrade_git_user/$topgrade_git_repo/releases/latest" | egrep -o '/$topgrade_git_user/$topgrade_git_repo/releases/download/[0-9]*/[0-9]*-x86_64-unknown-linux-gnu.tar.gz' | wget --base=http://github.com/ -i - -O "$topgrade_tar"
|
||||||
tar -xvf $topgrade_tar -C $topgrade_install_directory
|
tar -xvf $topgrade_tar -C $topgrade_install_directory
|
||||||
else
|
else
|
||||||
echo "** topgrade binary exists"
|
echo "** topgrade binary exists"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user