Fix cargo deb missing #DEBHELPER# variable

This commit is contained in:
Neshura 2023-12-29 01:26:09 +01:00
parent 7738c8b366
commit b727a3714e
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
3 changed files with 12 additions and 3 deletions
debian

5
debian/postinst vendored
View file

@ -1,5 +1,8 @@
#!/bin/sh
set -e
#DEBHELPER#
# Also enable User Service
# Automatically added by cargo-deb
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if deb-systemd-helper --user debian-installed cloudflare-dns-updater.service; then