Am 12.05.2026 um 13:28 schrieb Sven Hartge:

Hello,

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?

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.

Hilmar

[1] https://packages.debian.org/sid/amd64/radsecproxy/filelist
--
sigfault

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to