mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
6 lines
128 B
Bash
6 lines
128 B
Bash
unpackCmdHooks+=(_tryUnpackDmg)
|
|
_tryUnpackDmg() {
|
|
if ! [[ "$curSrc" =~ \.dmg$ ]]; then return 1; fi
|
|
undmg < "$curSrc"
|
|
}
|