From 889b1e5b9c32bdcbca1b6430c9a697cc341bff00 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Thu, 12 Jan 2023 10:02:28 +0100 Subject: [PATCH] adds tea cli in gitea block --- arkanum | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arkanum b/arkanum index cff3b53..8087651 100755 --- a/arkanum +++ b/arkanum @@ -129,10 +129,20 @@ function instPwsh() { } function instGiteaTools() { + TEA_VERSION="0.9.0" + CHANGELOG_VERSION="main" say "Installing Gitea tools..." "Gitea" - sudo -E curl -fsSL https://dl.gitea.io/changelog-tool/main/changelog-main-linux-amd64 -o /usr/bin/changelog + + say "Downloading 'changelog' ($CHANGELOG_VERSION)..." "Gitea" + sudo -E curl -fsSL "https://dl.gitea.io/changelog-tool/$CHANGELOG_VERSIN/changelog-$CHANGELOG_VERSION-linux-amd64" -o /usr/bin/changelog sudo chmod +x /usr/bin/changelog say "'changelog' command installed." "Gitea" + + say "Downloading 'tea' ($TEA_VERSION)..." "Gitea" + sudo -E curl -fsSL https://dl.gitea.io/tea/$TEA_VERSION/tea-$TEA_VERSION-linux-amd64 -o /usr/bin/tea + sudo chmod +x /usr/bin/tea + say "'tea' command installed." "Gitea" + say "done." "Gitea" }