lzip: add unpackCmd hook

This commit is contained in:
Orivej Desh
2017-12-04 23:31:48 +00:00
parent a865d17b7c
commit 0bb47027ab
3 changed files with 8 additions and 2 deletions
@@ -0,0 +1,5 @@
lzipUnpackCmdHook() {
[[ "$1" = *.tar.lz ]] && tar --lzip -xf "$1"
}
unpackCmdHooks+=(lzipUnpackCmdHook)