core/pkgs/by-name/lz/lzip/lzip-setup-hook.sh

6 lines
110 B
Bash
Raw Normal View History

2024-05-02 00:46:19 +00:00
lzipUnpackCmdHook() {
[[ "$1" = *.tar.lz ]] && tar --lzip -xf "$1"
}
unpackCmdHooks+=(lzipUnpackCmdHook)