chore: update some stuff #2
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Validate OAT version
|
||||
if [[ -z "$OAT_VERSION" ]]; then
|
||||
echo "No OAT version was specified, please set the OAT_VERSION environment variable."
|
||||
@ -7,9 +9,10 @@ if [[ -z "$OAT_VERSION" ]]; then
|
||||
fi
|
||||
|
||||
# Make sure we have cURL (and file for debugging)
|
||||
echo "Downloading dependencies"
|
||||
dpkg --add-architecture i386
|
||||
apt-get update
|
||||
apt-get install -y curl file libstdc++-13-dev:i386
|
||||
apt-get update > /dev/null 2>&1
|
||||
apt-get install -y curl file libstdc++-13-dev:i386 > /dev/null 2>&1
|
||||
|
||||
# Construct the download URL
|
||||
DOWNLOAD_URL="https://github.com/Laupetin/OpenAssetTools/releases/download/v${OAT_VERSION}/oat-linux.tar.gz"
|
||||
|
Loading…
x
Reference in New Issue
Block a user