Files
DDNS-Client/ddns-client/DEBIAN/prerm
Cantibra fe31b582af
All checks were successful
DDNS-Client / DDNS-Client (amd64, bookworm trixie noble, main) (push) Successful in 11s
DDNS-Client / DDNS-Client (arm64, bookworm trixie noble, main) (push) Successful in 11s
Initialize Git Repository: 'DDNS-Client'
2026-03-19 14:15:45 +01:00

18 lines
442 B
Bash

#!/usr/bin/sh
set -e
set -u
case "${1}" in
remove)
if [ -x '/usr/bin/deb-systemd-invoke' ]; then
/usr/bin/deb-systemd-invoke stop 'ddns-client.timer' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-invoke stop 'ddns-client.service' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-invoke disable 'ddns-client.timer' > '/dev/null' 2>&1 || \
/usr/bin/true
fi
;;
esac