From 505dc0491b727657569359b3318fe76278530265 Mon Sep 17 00:00:00 2001 From: Christian Sturm Date: Fri, 10 Mar 2017 15:22:37 +0100 Subject: [PATCH] Make install script to work with non GNU tar (#871) --- install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install b/install index 71497c8..93e975a 100755 --- a/install +++ b/install @@ -99,11 +99,11 @@ link_fzf_in_path() { } try_curl() { - command -v curl > /dev/null && curl -fL $1 | tar -xz + command -v curl > /dev/null && curl -fL $1 | tar -xzf - } try_wget() { - command -v wget > /dev/null && wget -O - $1 | tar -xz + command -v wget > /dev/null && wget -O - $1 | tar -xzf - } download() {