depot/third_party/nixpkgs/pkgs/tools/compression/lzip/lzip-setup-hook.sh

6 lines
110 B
Bash
Raw Normal View History

lzipUnpackCmdHook() {
[[ "$1" = *.tar.lz ]] && tar --lzip -xf "$1"
}
unpackCmdHooks+=(lzipUnpackCmdHook)