1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/databases/mysql50-server/files/patch-ab

39 lines
1013 B
Plaintext
Raw Normal View History

1998-12-24 01:14:13 +00:00
--- scripts/mysql_install_db.sh.orig Wed Dec 9 12:48:04 1998
+++ scripts/mysql_install_db.sh Wed Dec 23 23:39:46 1998
@@ -11,8 +11,8 @@
ldata=@localstatedir@
mdata=$ldata/mysql
1998-12-24 01:14:13 +00:00
-# 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 ! -x @libexecdir@/mysqld
then
1998-12-24 01:14:13 +00:00
@@ -27,8 +27,6 @@
fi
fi
-# On IRIX hostname is in /usr/bsd so add this to the path
-PATH=$PATH:/usr/bsd
hostname=`hostname` # Install this too in the user table
1998-12-24 01:14:13 +00:00
# Check if hostname is valid
@@ -44,12 +42,9 @@
fi
# Create database directories mysql & test
-if test -z "$IN_RPM"
-then
1998-12-24 01:14:13 +00:00
- 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
-fi
1998-12-24 01:14:13 +00:00
+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
# Initialize variables
c_d="" i_d=""