use dpkg --print-architecture

This commit is contained in:
Léana 江 2024-05-12 00:25:34 +02:00
parent cc259da0cb
commit 1f75309ffd
No known key found for this signature in database
GPG key ID: 4E887A4CA9714ADA
3 changed files with 1 additions and 6 deletions

View file

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