nixpkgs-suyu/pkgs/tools/compression/lzip/lzip-setup-hook.sh

6 lines
110 B
Bash
Raw Normal View History

2017-12-04 20:08:11 +01:00
lzipUnpackCmdHook() {
[[ "$1" = *.tar.lz ]] && tar --lzip -xf "$1"
}
unpackCmdHooks+=(lzipUnpackCmdHook)