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

28 lines
528 B
Bash
Executable File

#!/bin/sh
set -e
# Automatically added by dh_python3
if command -v py3compile >/dev/null 2>&1; then
py3compile -p ansible
fi
if command -v pypy3compile >/dev/null 2>&1; then
pypy3compile -p ansible || true
fi
# End automatically added section
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