Re: Seeking for Help on resolving a symlink problem in icewm
Colin Watson <cjwatson@debian.org> writes:
> The usual solution is to move the old documentation directory to a safe
> place (e.g. /usr/share/doc/icewm.deleteme) in the preinst, and remove
> that directory if it exists in the postinst. This then allows you to
> roll back safely if something goes wrong. Alternatively, you could move
> the directory to its new home in the preinst and again roll back if
> necessary.
>
> For example, see the way that groff-base turns
> /usr/share/groff/site-tmac into a symlink to /etc/groff.
Thanks ! This is nice and smart.
However, I don't see exactly how/where do you see roll back.
Do you mean manual rollback or automated rollback in maintainer scripts
thanks to abort-* parameters ?
--
Jérôme Marant <jerome.marant@free.fr>
Reply to: