Closed boreq closed 3 years ago
Perhaps, just use tar -I | --use-compress-program= lrzip ...
This works rather well. Also you can embed any options you want or use an lrzip.conf
file to use various options. lrztar
has some issues with some options and as a shell file is pretty complex.
Fixed in git master.
If
which
is unavailable in the$PATH
thenlrztar
fails with a confusing error message:This is caused by this line assuming that
which
will always be available. This is not the case in some cases, for example inarchlinux/base
Docker image and caused some confusion before I realized what is going on.The simplest fix would most likely be to check if which can be executed just before those checks, or just trying to run those programs directly for example by executing
tar --version
and so on.