mirror of
https://github.com/documize/community.git
synced 2025-08-08 23:15:29 +02:00
minor tweaks
This commit is contained in:
parent
9b6857854a
commit
8ae2da6376
1 changed files with 4 additions and 2 deletions
|
@ -69,12 +69,14 @@ Space view.
|
|||
|
||||
# Requires:
|
||||
- curl
|
||||
- wget
|
||||
- A service for documize
|
||||
- wget
|
||||
- bash
|
||||
- A service for Documize (/etc/init.d/documize)
|
||||
|
||||
VERSION="$(curl -s https://api.github.com/repos/documize/community/releases | grep 'tag_name' | cut -d\" -f4 | head -1)"
|
||||
|
||||
service documize stop
|
||||
sleep 2 # Wait for the service to stop completely
|
||||
rm -f /bin/documize-community-linux-amd64
|
||||
if wget https://github.com/documize/community/releases/download/$VERSION/documize-community-linux-amd64 -P /bin/
|
||||
then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue