1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/databases/mysql40-server/files/patch-ab

36 lines
975 B
Plaintext
Raw Normal View History

--- scripts/mysql_install_db.sh.orig Sat Aug 28 13:10:54 1999
+++ scripts/mysql_install_db.sh Mon Sep 13 00:13:04 1999
1999-03-04 21:27:59 +00:00
@@ -15,10 +15,6 @@
force=0
IN_RPM=0
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
1999-03-04 21:27:59 +00:00
-if test "$1" = "--force"; then force=1; shift; fi
-
# Get mysqld/safe_mysqld options from /etc/my.cnf or ~/.my.cnf
if test -w /
1999-03-04 21:27:59 +00:00
then
@@ -60,8 +56,6 @@
1998-12-24 01:14:13 +00:00
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
@@ -255,12 +249,6 @@
END_OF_DATA
then
echo ""
- if test "$IN_RPM" -eq 0
- then
- echo "To start mysqld at boot time you have to copy support-files/mysql.server"
- echo "to the right place for your system"
- echo
- fi
echo "PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !"
echo "This is done with:"
echo "$bindir/mysqladmin -u root password 'new-password'"