diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-05-07 20:00:13 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-05-07 20:00:13 +0900 |
| commit | ed511d78678e97d0a43765d655f27a139da72d82 (patch) | |
| tree | 6d2efb2a413a42f0e2e48ab8b7360483dbe835a2 /install | |
| parent | cd8d736a9f4074de3aafdf3c10fff75cfb6c5ed0 (diff) | |
| download | fzf-ed511d78678e97d0a43765d655f27a139da72d82.tar.gz | |
[install] tar --no-same-owner
Close #3776
Diffstat (limited to 'install')
| -rwxr-xr-x | install | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -115,7 +115,7 @@ link_fzf_in_path() { try_curl() { command -v curl > /dev/null && if [[ $1 =~ tar.gz$ ]]; then - curl -fL $1 | tar -xzf - + curl -fL $1 | tar --no-same-owner -xzf - else local temp=${TMPDIR:-/tmp}/fzf.zip curl -fLo "$temp" $1 && unzip -o "$temp" && rm -f "$temp" @@ -125,7 +125,7 @@ try_curl() { try_wget() { command -v wget > /dev/null && if [[ $1 =~ tar.gz$ ]]; then - wget -O - $1 | tar -xzf - + wget -O - $1 | tar --no-same-owner -xzf - else local temp=${TMPDIR:-/tmp}/fzf.zip wget -O "$temp" $1 && unzip -o "$temp" && rm -f "$temp" |
