fix: remove duplicate check [ci skip]
This commit is contained in:
parent
383f857f4a
commit
766e3008f6
|
@ -28,12 +28,6 @@ function install_abra_release {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! type "curl" > /dev/null 2>&1; then
|
|
||||||
error "'python3' is not installed, cannot proceed..."
|
|
||||||
echo "perhaps try installing manually via the releases URL?"
|
|
||||||
echo "https://git.coopcloud.tech/coop-cloud/abra/releases"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# FIXME: support different architectures
|
# FIXME: support different architectures
|
||||||
PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m)
|
PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m)
|
||||||
sed_command='s/.*"assets":\[\{[^}]*"name":"abra.*_'"$PLATFORM"'"[^}]*"browser_download_url":"([^"]*)".*\].*/\1/p'
|
sed_command='s/.*"assets":\[\{[^}]*"name":"abra.*_'"$PLATFORM"'"[^}]*"browser_download_url":"([^"]*)".*\].*/\1/p'
|
||||||
|
|
Loading…
Reference in New Issue