diff options
author | merakor <cem@ckyln.com> | 2021-07-04 00:26:25 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-07-04 00:26:25 +0000 |
commit | f12f0203579a57348b7509f77d9f06c27d84490e (patch) | |
tree | f5cb3f6fd6ecf135e398d0d5d08055dd47e90c03 | |
parent | 397a709a5225cf30932d7646d60b5258528e9afd (diff) | |
download | cpt-f12f0203579a57348b7509f77d9f06c27d84490e.tar.gz |
pkg_install: preserve setuid
FossilOrigin-Name: 4444b71a22c2626e90302d512cfc9878d39a5d12488e893b29502e0f496a34f5
-rw-r--r-- | src/cpt-lib.in | 2 |
1 files changed, 1 insertions, 1 deletions
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" |