8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
5 lines
131 B
Bash
5 lines
131 B
Bash
unpackCmdHooks+=(_tryUnrar)
|
|
_tryUnrar() {
|
|
if ! [[ "$curSrc" =~ \.rar$ ]]; then return 1; fi
|
|
unrar x "$curSrc" >/dev/null
|
|
}
|