From e6985a15c2f66a99a370dab439a743d1514f5cb0 Mon Sep 17 00:00:00 2001 From: Miguel Muniz Date: Tue, 23 Jul 2024 21:55:46 -0700 Subject: [PATCH] small changes --- install/gitea-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/gitea-install.sh b/install/gitea-install.sh index 9d5d657b..bf3b60cf 100644 --- a/install/gitea-install.sh +++ b/install/gitea-install.sh @@ -23,13 +23,13 @@ msg_ok "Installed Dependencies" msg_info "Installing Gitea" RELEASE=$(wget -q https://github.com/go-gitea/gitea/releases/latest -O - | grep "title>Release" | cut -d " " -f 4) VERSION=${RELEASE#v} -wget -q https://github.com/go-gitea/gitea/releases/download/$RELEASE/gitea-$VERSION-linux-amd64 +$STD wget -q https://github.com/go-gitea/gitea/releases/download/$RELEASE/gitea-$VERSION-linux-amd64 mv gitea* /usr/local/bin/gitea chmod +x /usr/local/bin/gitea msg_info "Installed Gitea" msg_info "Creating Gitea user" -adduser --system --group --disabled-password --home /etc/gitea gitea > /dev/null 2>&1 +adduser --system --group --disabled-password --home /etc/gitea gitea > /dev/null msg_info "Creating directory structure" mkdir -p /var/lib/gitea/{custom,data,log}