mirror of
https://github.com/krislamo/graylog_demo
synced 2024-12-16 06:50:35 +00:00
Silence unnecessary output on compose install
This commit is contained in:
parent
1248d921b5
commit
db5460412c
@ -15,11 +15,11 @@ file="docker-compose-$(uname -s)-$(uname -m)"
|
|||||||
|
|
||||||
# Download latest Docker Compose if that version hasn't been downloaded
|
# Download latest Docker Compose if that version hasn't been downloaded
|
||||||
if [ ! -f /tmp/docker_compose_$version ]; then
|
if [ ! -f /tmp/docker_compose_$version ]; then
|
||||||
curl -L $url/$file -o /tmp/docker-compose_$version
|
curl -sL $url/$file -o /tmp/docker-compose_$version
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Is it already installed?
|
# Is it already installed?
|
||||||
if installed=$(which docker-compose); then
|
if installed=$(which docker-compose 2> /dev/null); then
|
||||||
|
|
||||||
new_chksum=$(sha256sum /tmp/docker-compose_$version)
|
new_chksum=$(sha256sum /tmp/docker-compose_$version)
|
||||||
old_chksum=$(sha256sum /usr/local/bin/docker-compose)
|
old_chksum=$(sha256sum /usr/local/bin/docker-compose)
|
||||||
|
Loading…
Reference in New Issue
Block a user