[csw-devel] SF.net SVN: gar:[16765] csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sat Jan 14 19:03:07 CET 2012


Revision: 16765
          http://gar.svn.sourceforge.net/gar/?rev=16765&view=rev
Author:   wahwah
Date:     2012-01-14 18:03:07 +0000 (Sat, 14 Jan 2012)
Log Message:
-----------
mysql5/branches/mysql-5.0.x: adjust paths to my-small.cnf

Modified Paths:
--------------
    csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/CSWmysql5.postinstall
    csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/quick_start-csw

Modified: csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/CSWmysql5.postinstall
===================================================================
--- csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/CSWmysql5.postinstall	2012-01-14 02:43:23 UTC (rev 16764)
+++ csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/CSWmysql5.postinstall	2012-01-14 18:03:07 UTC (rev 16765)
@@ -15,7 +15,7 @@
 MYSQL_HOME="/var${prefix}/mysql5"
 sysconfdir="/etc${prefix}"
 # https://www.opencsw.org/mantis/view.php?id=4646
-DEFAULTS_FILE="${sysconfdir}/my.cnf"
+DEFAULTS_FILE="${prefix}/share/mysql/5.0/mysql/my-small.cnf"
 MYSQLD_USER="mysql"
 # Provide the default data directory
 MYSQLD_DATADIR="${MYSQL_HOME}"

Modified: csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/quick_start-csw
===================================================================
--- csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/quick_start-csw	2012-01-14 02:43:23 UTC (rev 16764)
+++ csw/mgar/pkg/mysql5/branches/mysql-5.0.x/files/quick_start-csw	2012-01-14 18:03:07 UTC (rev 16765)
@@ -14,7 +14,7 @@
 MYSQL_HOME=${prefix}
 MYSQL_VAR=/var${prefix}
 sysconfdir=/etc${prefix}
-DEFAULTS_FILE=${sysconfdir}/my.cnf
+DEFAULTS_FILE=${prefix}/share/mysql/5.0/mysql/my-small.cnf
 MYSQLD_USER=mysql
 #
 # Provide a default data directory
@@ -54,7 +54,8 @@
     ` || exit $?
 if [ $usrin = "[default]" ]; then
     if [ ! -f "$DEFAULTS_FILE" ]; then
-        IN_DEFAULTS_FILE=$MYSQL_HOME/share/mysql/my-small.cnf
+        IN_DEFAULTS_FILE=$MYSQL_HOME/share/mysql/5.0/mysql/my-small.cnf
+        /share/mysql/my-small.cnf
         echo "Using $IN_DEFAULTS_FILE to create the options file."
     else
         IN_DEFAULTS_FILE=$DEFAULTS_FILE

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