diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 20:03:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 20:03:05 +0000 |
commit | cb54f328515d55394b71e492ffbfefe5e6b0d891 (patch) | |
tree | 51ffbd301c8897ba0ff6c3d7be0e9d9cc98aee09 /debian/ansible.postrm | |
parent | Adding upstream version 2.10.7+merged+base+2.10.8+dfsg. (diff) | |
download | ansible-cb54f328515d55394b71e492ffbfefe5e6b0d891.tar.xz ansible-cb54f328515d55394b71e492ffbfefe5e6b0d891.zip |
Adding debian version 2.10.7+merged+base+2.10.8+dfsg-1.debian/2.10.7+merged+base+2.10.8+dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/ansible.postrm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/ansible.postrm b/debian/ansible.postrm new file mode 100644 index 00000000..f292fc88 --- /dev/null +++ b/debian/ansible.postrm @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +dpkg-maintscript-helper rm_conffile \ + /etc/ansible/ansible.cfg 2.10.4~ ansible -- "$@" + +dpkg-maintscript-helper rm_conffile \ + /etc/ansible/hosts 2.10.4~ ansible -- "$@" + +if [ -d /etc/ansible ]; then + rmdir --ignore-fail-on-non-empty /etc/ansible 2> /dev/null +fi + +exit 0 |