mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-24 13:47:38 +00:00
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
Block a user