Bug#183357: Making a symlink in the post installation script?

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 183357@bugs.debian.org
Sun, 27 Mar 2005 17:11:54 +0200


On Mon, Feb 21, 2005 at 08:58:36PM +0100, Andreas Metzler wrote:
> On 2005-02-18 Tore Anderson <tore@debian.org> wrote:
> [...]
> >   Anyway:  Why don't we just simply check in the post installation
> >  script of exim4-base if any of the problematic files from Woody's exim
> >  package is present, and if they are not, make a symlink from "exim" to
> >  "exim4" in /usr/sbin.  This way all new installations will get the
> >  regular binary, and so will all upgrades that doesn't have the
> >  problematic files from Woody's Exim.  The postinst could also be made
> >  to print a little warning if the problematic files were detected.
> 
> >   The postrm would of course need to take care to delete this symlink,
> >  too.
> [...]
> 
> s/-base/-daemon/ and the postrm would need to be extra careful using
> readlink, but on first glance it sounds doable.

I don't particularly like that idea since the symlink would not be
under dpkg control.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835