1998-12-22 18:01:44 +00:00
|
|
|
--- scripts/mysql_install_db.sh.orig Sun Nov 22 04:57:20 1998
|
|
|
|
+++ scripts/mysql_install_db.sh Sun Dec 6 23:58:49 1998
|
|
|
|
@@ -10,8 +10,8 @@
|
|
|
|
|
1998-11-21 20:13:52 +00:00
|
|
|
mdata=@localstatedir@/mysql
|
1998-03-16 02:46:42 +00:00
|
|
|
|
1998-12-22 18:01:44 +00:00
|
|
|
-# Are we are doing a rpm install?
|
1998-11-21 20:13:52 +00:00
|
|
|
-if test "$1" = "-IN-RPM"; then IN_RPM=1; shift; fi
|
1998-12-22 18:01:44 +00:00
|
|
|
+# pretend we're doing an RPM install
|
|
|
|
+IN_RPM=1
|
1998-03-16 02:46:42 +00:00
|
|
|
|
1998-11-21 20:13:52 +00:00
|
|
|
if test ! -x @libexecdir@/mysqld
|
1998-10-22 07:47:41 +00:00
|
|
|
then
|
1998-12-22 18:01:44 +00:00
|
|
|
@@ -31,12 +31,9 @@
|
1998-09-06 19:58:26 +00:00
|
|
|
hostname=`hostname` # Install this too in the user table
|
|
|
|
|
1998-11-21 20:13:52 +00:00
|
|
|
# Create database directories mysql & test
|
1998-12-22 18:01:44 +00:00
|
|
|
-if test -z "$IN_RPM"
|
|
|
|
-then
|
|
|
|
- if test ! -d @localstatedir@; then mkdir @localstatedir@; fi
|
|
|
|
- if test ! -d @localstatedir@/mysql; then mkdir @localstatedir@/mysql; fi
|
|
|
|
- if test ! -d @localstatedir@/test; then mkdir @localstatedir@/test; fi
|
|
|
|
-fi
|
|
|
|
+if test ! -d @localstatedir@; then mkdir @localstatedir@; fi
|
|
|
|
+if test ! -d @localstatedir@/mysql; then mkdir @localstatedir@/mysql; fi
|
|
|
|
+if test ! -d @localstatedir@/test; then mkdir @localstatedir@/test; fi
|
|
|
|
|
|
|
|
# Initialize variables
|
|
|
|
c_d="" i_d=""
|