diff options
Diffstat (limited to 'databases/mysql60-server/files/patch-ab')
-rw-r--r-- | databases/mysql60-server/files/patch-ab | 38 |
1 files changed, 9 insertions, 29 deletions
diff --git a/databases/mysql60-server/files/patch-ab b/databases/mysql60-server/files/patch-ab index 738c18a..52b6b39 100644 --- a/databases/mysql60-server/files/patch-ab +++ b/databases/mysql60-server/files/patch-ab @@ -1,17 +1,17 @@ ---- scripts/mysql_install_db.sh.orig Fri Jan 1 15:33:33 1999 -+++ scripts/mysql_install_db.sh Wed Jan 6 00:10:55 1999 -@@ -13,8 +13,8 @@ - execdir=@libexecdir@ - bindir=@bindir@ +--- scripts/mysql_install_db.sh.orig Mon Mar 1 20:08:17 1999 ++++ scripts/mysql_install_db.sh Thu Mar 4 22:05:57 1999 +@@ -15,10 +15,6 @@ + force=0 + IN_RPM=0 -# Are we doing an rpm install? -if test "$1" = "-IN-RPM"; then IN_RPM=1; shift; fi -+# pretend we're doing an RPM install -+IN_RPM=1 - +-if test "$1" = "--force"; then force=1; shift; fi +- # Get mysqld/safe_mysqld options from /etc/my.cnf or ~/.my.cnf if test -w / -@@ -57,8 +57,6 @@ + then +@@ -60,8 +56,6 @@ fi fi @@ -20,23 +20,3 @@ hostname=`hostname` # Install this too in the user table # Check if hostname is valid -@@ -74,14 +72,11 @@ - fi - - # Create database directories mysql & test --if test -z "$IN_RPM" --then -- if test ! -d $ldata; then mkdir $ldata; fi -- if test ! -d $ldata/mysql; then mkdir $ldata/mysql; fi -- if test ! -d $ldata/test; then mkdir $ldata/test; fi -- if test -w / -a ! -z "$user"; then -- chown $user $ldata $ldata/mysql $ldata/test; -- fi -+if test ! -d $ldata; then mkdir $ldata; fi -+if test ! -d $ldata/mysql; then mkdir $ldata/mysql; fi -+if test ! -d $ldata/test; then mkdir $ldata/test; fi -+if test -w / -a ! -z "$user"; then -+ chown $user $ldata $ldata/mysql $ldata/test; - fi - - # Initialize variables |