depot/pkgs/by-name/ri/ripunzip/setup-hook.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
152 B
Bash
Raw Normal View History

unpackCmdHooks+=(_tryRipunzip)
_tryRipunzip() {
if ! [[ "$curSrc" =~ \.zip$ ]]; then return 1; fi
ripunzip unzip-file "$curSrc" 2> /dev/null
}