Initialize Git Repository: 'DDNS-Client'
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

This commit is contained in:
Cantibra
2026-03-19 14:15:45 +01:00
commit fe31b582af
15 changed files with 798 additions and 0 deletions

33
ddns-client/DEBIAN/postrm Normal file
View File

@@ -0,0 +1,33 @@
#!/usr/bin/sh
set -e
set -u
if [ -d '/run/systemd/system' ]; then
/usr/bin/systemctl --system daemon-reload > '/dev/null' 2>&1 || \
/usr/bin/true
fi
case "${1}" in
remove)
if [ -x '/usr/bin/deb-systemd-helper' ]; then
/usr/bin/deb-systemd-helper mask 'ddns-client.timer' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper mask 'ddns-client.service' > '/dev/null' 2>&1 || \
/usr/bin/true
fi
;;
purge)
if [ -x '/usr/bin/deb-systemd-helper' ]; then
/usr/bin/deb-systemd-helper purge 'ddns-client.timer' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper purge 'ddns-client.service' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper unmask 'ddns-client.timer' > '/dev/null' 2>&1 || \
/usr/bin/true
/usr/bin/deb-systemd-helper unmask 'ddns-client.service' > '/dev/null' 2>&1 || \
/usr/bin/true
fi
/usr/bin/rm --force --recursive '/var/trash'
;;
esac