openziti / ziti-tunnel-sdk-c

Apache License 2.0
42 stars 15 forks source link

correct the deb and rpm hooks #805

Closed qrkourier closed 4 months ago

qrkourier commented 4 months ago

Fixes these install errors on Debian caused by failing to check if the file exists before unblinking, and failing to quote a variable that might be undefined.

Setting up ziti-edge-tunnel (0.22.22) ...
unlink: cannot unlink '/opt/openziti/share/ziti-edge-tunnel.service': No such file or directory
/var/lib/dpkg/info/ziti-edge-tunnel.postinst: 109: [: !=: unexpected operator