File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1+ ## 3.9.4 2023-06-13 <dave at tiredofit dot ca >
2+
3+ ### Added
4+ - Add abliity to use --rsyncable argument to zstd archives
5+
6+
17## 3.9.3 2023-06-05 <dave at tiredofit dot ca >
28
39 ### Added
Original file line number Diff line number Diff line change @@ -565,15 +565,16 @@ cleanup_old_data() {
565565
566566
567567compression() {
568- if var_false "${ENABLE_PARALLEL_COMPRESSION}" ; then
569- PARALLEL_COMPRESSION_THREADS=1
570- fi
568+ if var_false "${ENABLE_PARALLEL_COMPRESSION}" ; then
569+ PARALLEL_COMPRESSION_THREADS=1
570+ fi
571+
572+ if var_true "${GZ_RSYNCABLE}" ; then
573+ gz_rsyncable=--rsyncable
574+ fi
571575
572- case "${COMPRESSION,,}" in
576+ case "${COMPRESSION,,}" in
573577 gz* )
574- if var_true "${GZ_RSYNCABLE}" ; then
575- gz_rsyncable=--rsyncable
576- fi
577578 compress_cmd="pigz -q -${COMPRESSION_LEVEL} -p ${PARALLEL_COMPRESSION_THREADS} ${gz_rsyncable}"
578579 compression_type="gzip"
579580 extension=".gz"
@@ -598,7 +599,7 @@ compression() {
598599 target=${target}.xz
599600 ;;
600601 zst* )
601- compress_cmd="zstd -q -q --rm -${COMPRESSION_LEVEL} -T${PARALLEL_COMPRESSION_THREADS} "
602+ compress_cmd="zstd -q -q --rm -${COMPRESSION_LEVEL} -T${PARALLEL_COMPRESSION_THREADS} ${gz_rsyncable} "
602603 compression_type="zstd"
603604 dir_compress_cmd=${compress_cmd}
604605 extension=".zst"
You can’t perform that action at this time.
0 commit comments