Indeed so: washoe[0] /var/lib/dpkg/info > less fail2ban.prerm #!/bin/sh set -e # Automatically added by dh_installinit if [ -x "/etc/init.d/fail2ban" ]; then if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d fail2ban stop || exit 0 else /etc/init.d/fail2ban stop || exit 0 fi fi # End automatically added section # Automatically added by dh_python dpkg -L fail2ban | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2 # End automatically added section
This issue seems to be something to ask about on the mailing list or debhelper people since I don't want override global ERROR_HANDLER and we need to have it something else from "exit 0" when combining with dh_python part of postrm. -- .-. =------------------------------ /v\ ----------------------------= Keep in touch // \\ (yoh@|www.)onerussian.com Yaroslav Halchenko /( )\ ICQ#: 60653192 Linux User ^^-^^ [175555]
pgplTcKNV3EuC.pgp
Description: PGP signature