diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-29 04:07:54 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-29 04:31:38 +0000 |
commit | 9ffd3ed702151ca5874f97db3d28d93d716ad924 (patch) | |
tree | 3df0b73e52a6492a59e7948005c5b3cb41f25e00 | |
parent | Releasing debian version 1.14-1. (diff) | |
download | nvme-cli-9ffd3ed702151ca5874f97db3d28d93d716ad924.tar.xz nvme-cli-9ffd3ed702151ca5874f97db3d28d93d716ad924.zip |
Removing generated files on purge.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-x | debian/nvme-cli.postrm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/nvme-cli.postrm b/debian/nvme-cli.postrm new file mode 100755 index 0000000..56e377c --- /dev/null +++ b/debian/nvme-cli.postrm @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +case "${1}" in + purge) + rm -f /etc/nvme/hostnqn + rm -f /etc/nvme/hostid + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |