diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-09-12 09:30:45 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-09-12 11:50:21 +0000 |
commit | 2f10c858ea8bc579414b3a8d8b6eced4a94a5114 (patch) | |
tree | 0eac44ac3959c2f136a88189d898d7b28dead958 /debian/open-infrastructure-ddns-client.postrm | |
parent | Adding ddns-client manpage. (diff) | |
download | network-tools-2f10c858ea8bc579414b3a8d8b6eced4a94a5114.tar.xz network-tools-2f10c858ea8bc579414b3a8d8b6eced4a94a5114.zip |
Adding debian packaging.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | debian/open-infrastructure-ddns-client.postrm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/open-infrastructure-ddns-client.postrm b/debian/open-infrastructure-ddns-client.postrm new file mode 100755 index 0000000..309a3c8 --- /dev/null +++ b/debian/open-infrastructure-ddns-client.postrm @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +case "${1}" in + purge) + rm -rf /etc/network-tools + rm -rf /var/log/network-tools + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |