1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Update gogh.sh

This commit is contained in:
Kristoffer Minya 2018-11-09 14:51:07 +01:00 committed by GitHub
parent edd964b496
commit b2f7a809cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,9 +217,10 @@ set_gogh() {
else
if [ "$(uname)" = "Darwin" ]; then
# OSX ships with curl
bash -c eval "$(curl -Lo- "${url}")"
(eval "$(curl -sLo- "${url}")")
else
bash <(wget -O- "${url}")
# Linux ships with wget
(eval "$(wget -qO- "${url}")")
fi
fi
}