aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-07-30 11:42:16 +0000
committermerakor <cem@ckyln.com>2021-07-30 11:42:16 +0000
commit8e4ac4c3a6ea04c46e3c92604c0234ae803e42a7 (patch)
tree9b9d2f42cfb0a18546ce2b9f4a7c13d3bba79211 /src
parentaeefcabdb00bf7a87ed24c792e2a6dca0330897a (diff)
downloadcpt-blake3.tar.gz
cpt-lib: fix faulty check-inblake3
FossilOrigin-Name: 1632041acc204a89042a9e998507148ee70dfff36f73bdcac95090b43e5422f0
Diffstat (limited to 'src')
-rw-r--r--src/cpt-lib.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in
index 83ed5f9..092ae0d 100644
--- a/src/cpt-lib.in
+++ b/src/cpt-lib.in
@@ -1002,7 +1002,6 @@ pkg_etcsums() (
# and not a bunch of '.new' files are installed. It's not foolproof at all,
# but at least it keeps the /etc directory as clean as possible.
digest=$(_get_digest "$sys_db/$1/etcsums") || digest=b3sum
- out "$digest"
case $digest in b3sum) out "%BLAKE3"; esac > "$pkg_dir/$1/$pkg_db/$1/etcsums"
find etc -type f | while read -r file; do