From f2eb24d527ba4ee61e864bc03cb5d654509658cb Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 30 Jan 2025 11:43:26 +0100 Subject: [PATCH] add $STD --- install/mattermost-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/mattermost-install.sh b/install/mattermost-install.sh index b1a5a374..2da3b169 100644 --- a/install/mattermost-install.sh +++ b/install/mattermost-install.sh @@ -41,8 +41,8 @@ msg_ok "Set up PostgreSQL" msg_info "Installing Mattermost" IPADDRESS=$(hostname -I | awk '{print $1}') -curl -sL -o- /usr/share/keyrings/mattermost-archive-keyring.gpg https://deb.packages.mattermost.com/pubkey.gpg -sh -c 'curl -o- https://deb.packages.mattermost.com/repo-setup.sh | sudo bash -s mattermost' +$STD -sL -o- /usr/share/keyrings/mattermost-archive-keyring.gpg https://deb.packages.mattermost.com/pubkey.gpg +$STD -c 'curl -o- https://deb.packages.mattermost.com/repo-setup.sh | sudo bash -s mattermost' $STD apt-get update $STD apt-get install -y mattermost $STD install -C -m 600 -o mattermost -g mattermost /opt/mattermost/config/config.defaults.json /opt/mattermost/config/config.json