feat: add architecture option

This commit is contained in:
Léana 江 2024-03-04 19:20:50 +01:00
parent 93cfaf8d53
commit 2a90b19ec8
No known key found for this signature in database
GPG key ID: 4E887A4CA9714ADA
2 changed files with 6 additions and 1 deletions

View file

@ -20,7 +20,7 @@ export GNUPGHOME
setup_tea() {
if ! test -f $BIN_DIR/tea ; then
curl -sL https://dl.gitea.io/tea/$TEA_VERSION/tea-$TEA_VERSION-linux-amd64 > $BIN_DIR/tea
curl -sL https://dl.gitea.io/tea/$TEA_VERSION/tea-$TEA_VERSION-linux-$ARCH > $BIN_DIR/tea
chmod +x $BIN_DIR/tea
fi
}