5 lines
128 B
Bash
5 lines
128 B
Bash
unpackCmdHooks+=(_tryUnpackDmg)
|
|
_tryUnpackDmg() {
|
|
if ! [[ "$curSrc" =~ \.dmg$ ]]; then return 1; fi
|
|
undmg < "$curSrc"
|
|
}
|