nixpkgs/pkgs/tools/compression/lzip/lzip-setup-hook.sh
2017-12-04 23:31:48 +00:00

6 lines
110 B
Bash

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