mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-09 12:22:40 +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 \
|
||||
"compress" "filter trough compress" off \
|
||||
"gzip" "filter trough gzip" off \
|
||||
"bzip" "filter trough bzip" on
|
||||
"bzip" "filter trough bzip" on \
|
||||
"xz" "filter trough xz" off
|
||||
[ $? = 1 ] && return;
|
||||
result="$REPLY"
|
||||
tar_compress="compress = $REPLY "
|
||||
|
@ -48,6 +48,10 @@ case $compress in
|
||||
compress_option="-j"
|
||||
EXTENSION="tar.bz2"
|
||||
;;
|
||||
"xz")
|
||||
compress_option="-J"
|
||||
EXTENSION="tar.xz"
|
||||
;;
|
||||
"none")
|
||||
compress_option=""
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user