diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 19:41:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 19:41:33 +0000 |
commit | ccee3e4a033ffd7a7048d50623666aebd50e7288 (patch) | |
tree | a80b306b174bb5bd77835dfb274690264d131d72 /debian/nvme-cli.postrm | |
parent | Adding upstream version 2.8. (diff) | |
download | nvme-cli-ccee3e4a033ffd7a7048d50623666aebd50e7288.tar.xz nvme-cli-ccee3e4a033ffd7a7048d50623666aebd50e7288.zip |
Adding debian version 2.8-1.debian/2.8-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/nvme-cli.postrm')
-rwxr-xr-x | debian/nvme-cli.postrm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/nvme-cli.postrm b/debian/nvme-cli.postrm new file mode 100755 index 0000000..79c2438 --- /dev/null +++ b/debian/nvme-cli.postrm @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +case "${1}" in + purge) + rm -f /etc/nvme/hostnqn + rm -f /etc/nvme/hostid + rmdir /etc/nvme > /dev/null 2>&1 || true + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |