Skip to content

Commit ad7794f

Browse files
committed
fix: certificate verification will fail on EDG
1 parent 66a89a5 commit ad7794f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

nfpm.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,6 @@ contents:
106106
- src: ./dist/localproxy-linux-${ARCH}/usr/local/bin/localproxy
107107
dst: /usr/bin/localproxy
108108
expand: true
109+
110+
scripts:
111+
postinstall: ./postinst

postinst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
/usr/sbin/update-ca-certificates --fresh || true

0 commit comments

Comments
 (0)