From deef9f57fec5948df575f3b93013f7760fce3d1c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 18:03:47 +0200 Subject: Adding debian version 7.3.0+dfsg-1. Signed-off-by: Daniel Baumann --- debian/ansible.postinst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/ansible.postinst (limited to 'debian/ansible.postinst') diff --git a/debian/ansible.postinst b/debian/ansible.postinst new file mode 100644 index 00000000..f292fc88 --- /dev/null +++ b/debian/ansible.postinst @@ -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 -- cgit v1.2.3