From 0d288a2e66c185ae6c17e9ae556562676325e59e Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 1 Jan 2024 11:42:03 -0500 Subject: [PATCH] Update gotify-install.sh create directory --- install/gotify-install.sh | 1 + 1 file changed, 1 insertion(+) 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