From 4e5c322e9c4185563367f4f9efb431707c30e596 Mon Sep 17 00:00:00 2001 From: Martin Nowak Date: Wed, 4 May 2016 07:44:11 +0200 Subject: [PATCH] workaround failing xz detection on OSX --- script/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/install.sh b/script/install.sh index 923dd53f..f339bec5 100755 --- a/script/install.sh +++ b/script/install.sh @@ -429,7 +429,8 @@ download_and_unpack() { check_tools curl if [[ $name =~ \.tar\.xz$ ]]; then - check_tools tar xz + # TODO: need to figure out how to detect xz support on osx + [ $os = osx ] && check_tools tar || check_tools tar xz else check_tools unzip fi