
A setup hook script is provided to make possible to use `ripunzip` as a replacement of `unzip` in `fetchzip`.
7 lines
152 B
Bash
7 lines
152 B
Bash
unpackCmdHooks+=(_tryRipunzip)
|
|
_tryRipunzip() {
|
|
if ! [[ "$curSrc" =~ \.zip$ ]]; then return 1; fi
|
|
|
|
ripunzip unzip-file "$curSrc" 2> /dev/null
|
|
}
|