mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2025-05-14 18:10:42 +02:00
Update install-service.sh
This commit is contained in:
parent
6d4d70e74e
commit
ce9f3f4a9c
@ -32,7 +32,7 @@ curl -s https://api.github.com/repos/semaphoreui/semaphore/releases/latest | gre
|
|||||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq install /opt/semaphore_linux_amd64.deb
|
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq install /opt/semaphore_linux_amd64.deb
|
||||||
|
|
||||||
cat << EOF > /usr/local/bin/update-semaphore
|
cat << EOF > /usr/local/bin/update-semaphore
|
||||||
PATH="/bin:/usr/bin:/usr/local/bin"
|
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
|
||||||
echo "Checking github for new semaphore version"
|
echo "Checking github for new semaphore version"
|
||||||
current_version=\$(curl -s https://api.github.com/repos/semaphoreui/semaphore/releases/latest | grep "tag_name" | cut -d '"' -f4)
|
current_version=\$(curl -s https://api.github.com/repos/semaphoreui/semaphore/releases/latest | grep "tag_name" | cut -d '"' -f4)
|
||||||
installed_version=\$(semaphore version)
|
installed_version=\$(semaphore version)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user