fix(install): ignore tarfile ownership values when installing as root (#4046)
This commit is contained in:
parent
146976351e
commit
1a91510bed
|
@ -111,7 +111,7 @@ unpack() {
|
|||
|
||||
case "$archive" in
|
||||
*.tar.gz)
|
||||
flags=$(test -n "${VERBOSE-}" && echo "-xzvf" || echo "-xzf")
|
||||
flags=$(test -n "${VERBOSE-}" && echo "-xzvof" || echo "-xzof")
|
||||
${sudo} tar "${flags}" "${archive}" -C "${bin_dir}"
|
||||
return 0
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue