Commit 20b9a83d authored by Vitaly Lipatov's avatar Vitaly Lipatov

hack to support old lz4

parent d63fb8ac
...@@ -61,7 +61,10 @@ compress_file_inplace() ...@@ -61,7 +61,10 @@ compress_file_inplace()
{ {
local OFILE="$1" local OFILE="$1"
if epm assure lz4 </dev/null ; then if epm assure lz4 </dev/null ; then
docmd lz4 --rm "$OFILE" "$OFILE.lz4" || return #docmd lz4 --rm "$OFILE" "$OFILE.lz4" || return
# due old lz4
docmd lz4 "$OFILE" "$OFILE.lz4" || return
rm -fv "$OFILE"
else else
epm assure xz </dev/null || return epm assure xz </dev/null || return
docmd xz "$OFILE" || return docmd xz "$OFILE" || return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment