depot/third_party/nixpkgs/pkgs/by-name/lz/lzip/lzip-setup-hook.sh

5 lines
110 B
Bash

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