mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
fix(install): ignore tarfile ownership values when installing as root (#4046)
This commit is contained in:
+1
-1
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user