mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 11:05:45 +00:00
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:
parent
5deeb56b95
commit
1d22265f69
@ -1,3 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
|
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
|
||||||
deb-systemd-helper unmask 'tailscaled.service' >/dev/null || true
|
deb-systemd-helper unmask 'tailscaled.service' >/dev/null || true
|
||||||
if deb-systemd-helper --quiet was-enabled 'tailscaled.service'; then
|
if deb-systemd-helper --quiet was-enabled 'tailscaled.service'; then
|
||||||
|
Loading…
Reference in New Issue
Block a user