Update gotify-install.sh

create directory
This commit is contained in:
tteckster 2024-01-01 11:42:03 -05:00 committed by GitHub
parent 96b0a6d172
commit 0d288a2e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ msg_ok "Installed Dependencies"
msg_info "Installing Gotify"
RELEASE=$(curl -s https://api.github.com/repos/gotify/server/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
mkdir -p /opt/gotify
cd /opt/gotify
wget -q https://github.com/gotify/server/releases/download/v${RELEASE}/gotify-linux-amd64.zip
unzip gotify-linux-amd64.zip