Am 12.05.26 um 17:44 schrieb Preuße, Hilmar:
Am 12.05.2026 um 13:28 schrieb Sven Hartge:

Is it really as easy as having

if [ "$1" = "configure" ]; then
   if [ -e /etc/init.d/radsecproxy ]; then
       rm /etc/init.d/radsecproxy
   fi
fi

in my postinst?

rm_conffile

(see man dpkg-maintscript-helper)

I'm wondering, why you care at all. According to [1] the init script is part of 
the package, so I would expect that dpkg cares. You should stop delivering it 
in the package.

It is in /etc and it's in the package so is most probably a conffile so no, 
dpkg will not remove it.


Regards,


Rene

Reply via email to