mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
undmg: use file name instead of pipe
There’s some issue in really big files with pipes that doesn’t occur in filename decompression.
This commit is contained in:
parent
4694b671b1
commit
e57df5816d
|
@ -1,5 +1,5 @@
|
|||
unpackCmdHooks+=(_tryUnpackDmg)
|
||||
_tryUnpackDmg() {
|
||||
if ! [[ "$curSrc" =~ \.dmg$ ]]; then return 1; fi
|
||||
undmg < "$curSrc"
|
||||
undmg "$curSrc"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue