mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 20:02:14 +03:00
e57df5816d
There’s some issue in really big files with pipes that doesn’t occur in filename decompression.
6 lines
126 B
Bash
6 lines
126 B
Bash
unpackCmdHooks+=(_tryUnpackDmg)
|
|
_tryUnpackDmg() {
|
|
if ! [[ "$curSrc" =~ \.dmg$ ]]; then return 1; fi
|
|
undmg "$curSrc"
|
|
}
|