mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-09 20:32:38 +01:00
xz support for tar handler
This commit is contained in:
parent
b8f717d224
commit
625d1424ca
@ -25,7 +25,8 @@ tar_wizard() {
|
|||||||
"none" "do not filter trough" off \
|
"none" "do not filter trough" off \
|
||||||
"compress" "filter trough compress" off \
|
"compress" "filter trough compress" off \
|
||||||
"gzip" "filter trough gzip" off \
|
"gzip" "filter trough gzip" off \
|
||||||
"bzip" "filter trough bzip" on
|
"bzip" "filter trough bzip" on \
|
||||||
|
"xz" "filter trough xz" off
|
||||||
[ $? = 1 ] && return;
|
[ $? = 1 ] && return;
|
||||||
result="$REPLY"
|
result="$REPLY"
|
||||||
tar_compress="compress = $REPLY "
|
tar_compress="compress = $REPLY "
|
||||||
|
@ -48,6 +48,10 @@ case $compress in
|
|||||||
compress_option="-j"
|
compress_option="-j"
|
||||||
EXTENSION="tar.bz2"
|
EXTENSION="tar.bz2"
|
||||||
;;
|
;;
|
||||||
|
"xz")
|
||||||
|
compress_option="-J"
|
||||||
|
EXTENSION="tar.xz"
|
||||||
|
;;
|
||||||
"none")
|
"none")
|
||||||
compress_option=""
|
compress_option=""
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user