Files
server/var/lib/dpkg/info/ansible.preinst
2026-01-07 20:52:11 +01:00

18 lines
296 B
Bash
Executable File

#!/bin/sh
set -e
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