Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
wknapik committed Jan 9, 2025
1 parent 664c67c commit e2f73bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ main() {
fi

elif [ "$os" = Darwin ]; then
trap '$sudo hdiutil detach -force -quiet /Volumes/Brave\ Browser' EXIT
trap '[ -d /Volumes/Brave\ Browser ] && $sudo hdiutil detach -force -quiet /Volumes/Brave\ Browser' EXIT
show $sudo hdiutil attach -quiet https://laptop-updates.brave.com/latest/osx
show $sudo rsync -a --del /Volumes/Brave\ Browser/Brave\ Browser.app /Applications/
show $sudo hdiutil detach -force -quiet /Volumes/Brave\ Browser || true
Expand Down

0 comments on commit e2f73bf

Please sign in to comment.