Update gotify-install.sh
create directory
This commit is contained in:
parent
96b0a6d172
commit
0d288a2e66
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue