Re: [Exim] Exim install script

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jim Knoble
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] Exim install script
Circa 2001-Sep-13 15:06:26 +0100 dixit Philip Hazel:

: The current exim_install script renames old versions as xxxx.O. This is
: probably reasonable for the various utilities, but it is less than ideal
: for the Exim binary itself. For a start, it leaves a window with no exim
: when upgrading. For Exim 4 I am proposing to change things. Anybody have
: any views on this (relatively minor) change of action?

[...]

: 4. If "exim" is in the bin directory and is not a symbolic link, run it
: to find its version number, and rename it as "exim-x.xx#n". Then create a
: symbolic link to the new version.

Actually, this still gives you a window when there is no .../bin/exim.
Better would be:

4. Fi "exim" is in the bin directory and is not a symbolic link, run
it to ind its version number, and then perform the following:

    cp -p exim exim-x.xx#n
    ln -s temp exim-4.xx
    mv -f temp exim


--
jim knoble | jmknoble@??? | http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)