Skip to content

Commit

Permalink
quictls: Check postinstall deleted file exists
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 committed Aug 1, 2024
1 parent 03e5aa4 commit c02add1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/q/quictls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def quictlsdir
end

def post_install
rm(quictlsdir/"cert.pem")
rm(quictlsdir/"cert.pem") if (quictlsdir/"cert.pem").exist?
quictlsdir.install_symlink Formula["ca-certificates"].pkgetc/"cert.pem"
end

Expand Down

0 comments on commit c02add1

Please sign in to comment.