1
0
mirror of https://github.com/krislamo/graylog_demo synced 2024-09-19 13:50:34 +00:00

Silence unnecessary output on compose install

This commit is contained in:
Kris Lamoureux 2020-01-22 10:27:55 -05:00
parent 1248d921b5
commit db5460412c
Signed by: kris
GPG Key ID: A30022791E1719A4

View File

@ -15,11 +15,11 @@ file="docker-compose-$(uname -s)-$(uname -m)"
# Download latest Docker Compose if that version hasn't been downloaded
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
# 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)
old_chksum=$(sha256sum /usr/local/bin/docker-compose)