diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-16 16:49:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-07-16 17:15:40 +0000 |
commit | 3b4b3a7e52e39c63274929c6d21e1783b9fa8549 (patch) | |
tree | 973199b962f3ea139f44648d2b22b01b6e887ba2 | |
parent | Updating packaging for upstreams migration to meson, temporarily skipping ude... (diff) | |
download | nvme-cli-3b4b3a7e52e39c63274929c6d21e1783b9fa8549.tar.xz nvme-cli-3b4b3a7e52e39c63274929c6d21e1783b9fa8549.zip |
Also removing /etc/nvme (if empty) on purge.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-x | debian/nvme-cli.postrm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/nvme-cli.postrm b/debian/nvme-cli.postrm index 56e377c..79c2438 100755 --- a/debian/nvme-cli.postrm +++ b/debian/nvme-cli.postrm @@ -6,6 +6,7 @@ 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) |