diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:21:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 16:21:12 +0000 |
commit | 393853db31e146165afcabf94d20d653f32001b1 (patch) | |
tree | e0b0ae14e8dcafadef5f0b6e4284f8e6e1600677 /debian/nagios-nrpe-plugin.postrm | |
parent | Adding upstream version 4.1.0. (diff) | |
download | nagios-nrpe-debian.tar.xz nagios-nrpe-debian.zip |
Adding debian version 4.1.0-1.debian/4.1.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/nagios-nrpe-plugin.postrm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/nagios-nrpe-plugin.postrm b/debian/nagios-nrpe-plugin.postrm new file mode 100644 index 0000000..a77d21a --- /dev/null +++ b/debian/nagios-nrpe-plugin.postrm @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +if [ "$1" = purge ]; then + test -d /var/lib/nagios && rmdir /var/lib/nagios || true #ignore non-failure errors +fi + +#DEBHELPER# + |