SF.net SVN: gar:[22226] csw/mgar/pkg/mysql5/branches/mysql-5.5.x/files/ CSWmysql5.postinstall
lblume at users.sourceforge.net
lblume at users.sourceforge.net
Tue Oct 15 16:43:30 CEST 2013
Revision: 22226
http://gar.svn.sourceforge.net/gar/?rev=22226&view=rev
Author: lblume
Date: 2013-10-15 14:43:26 +0000 (Tue, 15 Oct 2013)
Log Message:
-----------
mysql5/branches/mysql-5.5.x: Still not quite sure what was intended with that postinstall, but fixes it a bit more; also, missing double-quote
Modified Paths:
--------------
csw/mgar/pkg/mysql5/branches/mysql-5.5.x/files/CSWmysql5.postinstall
Modified: csw/mgar/pkg/mysql5/branches/mysql-5.5.x/files/CSWmysql5.postinstall
===================================================================
--- csw/mgar/pkg/mysql5/branches/mysql-5.5.x/files/CSWmysql5.postinstall 2013-10-15 12:30:08 UTC (rev 22225)
+++ csw/mgar/pkg/mysql5/branches/mysql-5.5.x/files/CSWmysql5.postinstall 2013-10-15 14:43:26 UTC (rev 22226)
@@ -15,7 +15,7 @@
MYSQL_HOME="/var${prefix}/mysql5"
sysconfdir="/etc${prefix}"
# https://www.opencsw.org/mantis/view.php?id=4646
-DEFAULTS_FILE="${prefix}/share/mysql5/support-files/my-small.cnf
+DEFAULTS_FILE="${sysconfdir}/my.cnf"
MYSQLD_USER="mysql"
MYSQLD_GROUP="mysql"
# Provide the default data directory
@@ -33,7 +33,7 @@
fi
if [ ! -f "$DEFAULTS_FILE" ]; then
- IN_DEFAULTS_FILE=$BASEDIR/share/mysql5/support-files/my-small.cnf
+ IN_DEFAULTS_FILE=${prefix}/share/mysql5/support-files/my-small.cnf
echo "Using $IN_DEFAULTS_FILE to create the options file."
else
IN_DEFAULTS_FILE=$DEFAULTS_FILE
@@ -70,6 +70,7 @@
--user="$MYSQLD_USER" \
--basedir="$BASEDIR" \
--datadir="$MYSQLD_DATADIR"
+echo "### End mysql_install_db messages."
# Fix permissions on the data directory, since mysql_install_db was run as
# root.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list