hi guys,

i looked a little more into this...

On Sun, Feb 27, 2005 at 08:31:27PM -0500, Joe Drew wrote:
> + '[' -f /etc/mysql/dpkg__mysql_should_be_started ']'
> + exit 0

so that file wasn't there because it's only created by the preinst
script during fresh installs.  

christian:  i looked through README.maintainer and i'm still not
quite sure why we need this test logic at all.  if we really do need
it, i think the following would fix it:

--- mysql-server-4.1.preinst.old        2005-02-28 00:56:51.000000000
-0500
+++ mysql-server-4.1.preinst    2005-02-28 00:57:16.000000000 -0500
@@ -101,7 +101,7 @@
   | xargs -0 --no-run-if-empty chgrp mysql
 
 # See debian/README.Maintainer for explanations.
-if [ "$1" = "install" ]; then
+if [ "$1" = "install" -o "$1" = "upgrade" ]; then
   touch /etc/mysql/dpkg__mysql_should_be_started
 fi

though you would know better than i.


        sean

-- 

Attachment: signature.asc
Description: Digital signature

Reply via email to