remove now useless linux-gnu condition for sbt client command

This commit is contained in:
Simon 2024-11-18 18:01:13 +01:00 committed by GitHub
parent 387e187143
commit 3cd279f537
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

2
sbt
View File

@ -180,7 +180,7 @@ acquire_sbtn () {
local archive_target=
local url=
local arch="x86_64"
if [[ "$OSTYPE" == "linux-gnu"* || "$OSTYPE" == "linux"* ]]; then
if [[ "$OSTYPE" == "linux"* ]]; then
arch=$(uname -m)
if [[ "$arch" == "aarch64" ]] || [[ "$arch" == "x86_64" ]]; then
archive_target="$p/sbtn-${arch}-pc-linux-${sbtn_v}.tar.gz"