diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 11:05:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 11:05:43 +0000 |
commit | 134ec653ca1852cab19cf8731e9d65df6dcceabf (patch) | |
tree | 0af4a1ec9744a676567bba4b4b929483a705664a /debian/nagios-nrpe-plugin.postrm | |
parent | Adding upstream version 4.0.3. (diff) | |
download | nagios-nrpe-debian/4.0.3-1.tar.xz nagios-nrpe-debian/4.0.3-1.zip |
Adding debian version 4.0.3-1.debian/4.0.3-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/nagios-nrpe-plugin.postrm')
-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# + |