mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
Avoid Finder window flash during install
Signed-off-by: Dan Luhring <dan.luhring@anchore.com>
This commit is contained in:
parent
7bced775c4
commit
6fe5ad0739
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ unpack() {
|
|||
extract_from_dmg() {
|
||||
dmg_file=$1
|
||||
mount_point="/Volumes/tmp-dmg"
|
||||
hdiutil attach -quiet -mountpoint "${mount_point}" "${dmg_file}"
|
||||
hdiutil attach -quiet -nobrowse -mountpoint "${mount_point}" "${dmg_file}"
|
||||
cp -fR "${mount_point}/" ./
|
||||
hdiutil detach -quiet -force "${mount_point}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue