From f12f0203579a57348b7509f77d9f06c27d84490e Mon Sep 17 00:00:00 2001 From: merakor Date: Sun, 4 Jul 2021 00:26:25 +0000 Subject: pkg_install: preserve setuid FossilOrigin-Name: 4444b71a22c2626e90302d512cfc9878d39a5d12488e893b29502e0f496a34f5 --- src/cpt-lib.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpt-lib.in b/src/cpt-lib.in index c3aa9ec..ea00bb9 100644 --- a/src/cpt-lib.in +++ b/src/cpt-lib.in @@ -1499,7 +1499,7 @@ pkg_install() { log "$pkg_name" "Extracting $tar_file" # Extract the tarball to catch any errors before installation begins. - decompress "$tar_file" | pax -r + decompress "$tar_file" | pax -rpp [ -f "./$pkg_db/$pkg_name/manifest" ] || die "'${tar_file##*/}' is not a valid CPT package" -- cgit v1.2.3