mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-02 02:53:58 +01:00
Update gotify-install.sh
create directory
This commit is contained in:
parent
96b0a6d172
commit
0d288a2e66
@ -21,6 +21,7 @@ msg_ok "Installed Dependencies"
|
|||||||
|
|
||||||
msg_info "Installing Gotify"
|
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) }')
|
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
|
cd /opt/gotify
|
||||||
wget -q https://github.com/gotify/server/releases/download/v${RELEASE}/gotify-linux-amd64.zip
|
wget -q https://github.com/gotify/server/releases/download/v${RELEASE}/gotify-linux-amd64.zip
|
||||||
unzip gotify-linux-amd64.zip
|
unzip gotify-linux-amd64.zip
|
||||||
|
Loading…
Reference in New Issue
Block a user