diff --git a/install/gotify-install.sh b/install/gotify-install.sh index 1b0a3efb..89f7e82e 100644 --- a/install/gotify-install.sh +++ b/install/gotify-install.sh @@ -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