nixpkgs/pkgs/tools/archivers/undmg/setup-hook.sh
Matthew Bauer e57df5816d undmg: use file name instead of pipe
There’s some issue in really big files with pipes that doesn’t occur
in filename decompression.
2020-08-19 19:35:29 -05:00

5 lines
126 B
Bash

unpackCmdHooks+=(_tryUnpackDmg)
_tryUnpackDmg() {
if ! [[ "$curSrc" =~ \.dmg$ ]]; then return 1; fi
undmg "$curSrc"
}