mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-24 13:47:38 +00:00
fix(install): fix install with busybox tar (#2583)
This commit is contained in:
parent
6f38bd8bc7
commit
49d678a043
@ -120,8 +120,8 @@ unpack() {
|
|||||||
|
|
||||||
case "$archive" in
|
case "$archive" in
|
||||||
*.tar.gz)
|
*.tar.gz)
|
||||||
flags=$(test -n "${VERBOSE-}" && echo "-v" || echo "")
|
flags=$(test -n "${VERBOSE-}" && echo "-xzvf" || echo "-xzf")
|
||||||
${sudo} tar "${flags}" -xzf "${archive}" -C "${bin_dir}"
|
${sudo} tar "${flags}" "${archive}" -C "${bin_dir}"
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
*.zip)
|
*.zip)
|
||||||
|
Loading…
Reference in New Issue
Block a user