On Wed, 12 Jan 2005 02:32:34 +0100
Francesco Riosa <[EMAIL PROTECTED]> wrote:
> my bad explaining, /etc/init.d/mysql is the *same* (md5 sums)
> for all mysql versions
That's still not good imho: some people use
CONFIG_PROTECT_MASK=/etc/init.d (I do for instance). In such a
case, uninstalling one of the slotted mysql package may remove the
initscript (if it is the latest emerged one that is removed,
because mtime will also match).
I think a better approach would be to have one real file
initscript per SLOT (/etc/init.d/mysql-${SLOT}), plus an
/etc/init.d/mysql symlink pointing to the one with the greatest
version for lazy people and backward compatibility. You can
probably use the alternatives.eclass to manage this symlink btw.
--
TGL.
--
[email protected] mailing list