cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit b7aad7f143e68c93365846ee37a8ee5161063d1c
parent f7fdd81634795f2dd89e59819f0de3416ce56b28
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Tue, 28 Jan 2020 17:16:39 +0200

kiss: Run tar with dosu to preserve file suid if set

Diffstat:
Mkiss | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kiss b/kiss @@ -865,7 +865,7 @@ pkg_install() { mkdir -p "$tar_dir/$pkg_name" # 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" log "$pkg_name" "Checking that all dependencies are installed"