release: add shebang to the debian postinst script

Seems like an omission, since we have it in postrm and prerm.

Fixes #10705

Signed-off-by: Anton Tolchanov <anton@tailscale.com>
This commit is contained in:
Anton Tolchanov 2024-01-03 00:29:24 +00:00 committed by Anton Tolchanov
parent 5deeb56b95
commit 1d22265f69
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#!/bin/sh
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
deb-systemd-helper unmask 'tailscaled.service' >/dev/null || true
if deb-systemd-helper --quiet was-enabled 'tailscaled.service'; then