forked from kiss-community/kiss
kiss: Run tar with dosu to preserve file suid if set
This commit is contained in:
parent
f7fdd81634
commit
b7aad7f143
2
kiss
2
kiss
@ -865,7 +865,7 @@ pkg_install() {
|
|||||||
mkdir -p "$tar_dir/$pkg_name"
|
mkdir -p "$tar_dir/$pkg_name"
|
||||||
|
|
||||||
# Extract the tar-ball to catch any errors before installation begins.
|
# Extract the tar-ball to catch any errors before installation begins.
|
||||||
tar pxf "$tar_file" -C "$tar_dir/$pkg_name" ||
|
dosu tar pxf "'$tar_file'" -C "'$tar_dir/$pkg_name'" ||
|
||||||
die "$pkg_name" "Failed to extract tar-ball"
|
die "$pkg_name" "Failed to extract tar-ball"
|
||||||
|
|
||||||
log "$pkg_name" "Checking that all dependencies are installed"
|
log "$pkg_name" "Checking that all dependencies are installed"
|
||||||
|
Loading…
Reference in New Issue
Block a user