The postrm includes:

       rmdir --ignore-fail-on-non-empty /etc/hotplug/.run/ /etc/hotplug/

These directories are included in the package and therefore should not
be removed in the postrm; dpkg will take care of them.

While we are on the subject ...

I would actually prefer it if /etc/hotplug/.run/ were not included in
the package but were handled the way ifupdown handles /etc/network/run/.
This entails deleting it in the postrm and creating it in the postinst
if it is not already a directory or symlink; and creating the target of
the symlink both in the postinst and in the initscript prior to the
point in time at which the directory is used.

-- 
Thomas Hood <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to