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
+
1
7
## 3.9.3 2023-06-05 <dave at tiredofit dot ca >
2
8
3
9
### Added
Original file line number Diff line number Diff line change @@ -565,15 +565,16 @@ cleanup_old_data() {
565
565
566
566
567
567
compression() {
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
571
575
572
- case "${COMPRESSION,,}" in
576
+ case "${COMPRESSION,,}" in
573
577
gz* )
574
- if var_true "${GZ_RSYNCABLE}" ; then
575
- gz_rsyncable=--rsyncable
576
- fi
577
578
compress_cmd="pigz -q -${COMPRESSION_LEVEL} -p ${PARALLEL_COMPRESSION_THREADS} ${gz_rsyncable}"
578
579
compression_type="gzip"
579
580
extension=".gz"
@@ -598,7 +599,7 @@ compression() {
598
599
target=${target}.xz
599
600
;;
600
601
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} "
602
603
compression_type="zstd"
603
604
dir_compress_cmd=${compress_cmd}
604
605
extension=".zst"
You can’t perform that action at this time.
0 commit comments