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)
|
unpackCmdHooks+=(_tryUnpackDmg)
|
||||||
_tryUnpackDmg() {
|
_tryUnpackDmg() {
|
||||||
if ! [[ "$curSrc" =~ \.dmg$ ]]; then return 1; fi
|
if ! [[ "$curSrc" =~ \.dmg$ ]]; then return 1; fi
|
||||||
undmg < "$curSrc"
|
undmg "$curSrc"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue