fix(install): fix install with busybox tar (#2583)

This commit is contained in:
David Knaack 2021-04-14 18:52:16 +02:00 committed by GitHub
parent 6f38bd8bc7
commit 49d678a043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -120,8 +120,8 @@ unpack() {
case "$archive" in
*.tar.gz)
flags=$(test -n "${VERBOSE-}" && echo "-v" || echo "")
${sudo} tar "${flags}" -xzf "${archive}" -C "${bin_dir}"
flags=$(test -n "${VERBOSE-}" && echo "-xzvf" || echo "-xzf")
${sudo} tar "${flags}" "${archive}" -C "${bin_dir}"
return 0
;;
*.zip)