make the capitalization of the word "mysql" consistant depending on

whether it's refering to the account/group or the program MySQL.
This commit is contained in:
brad 2000-02-06 23:32:38 +00:00
parent 8e0553c5aa
commit c2a3cc0809

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.2 2000/01/04 17:39:43 brad Exp $
# $OpenBSD: INSTALL,v 1.3 2000/02/06 23:32:38 brad Exp $
#
# Pre/post-installation setup of MySQL
@ -13,7 +13,7 @@ MYSQLGID=40
MYSQLUID=40
PASS=`dd if=/dev/urandom count=1 bs=12 2> /dev/null | encrypt -b 6`
# Function: install the MySQL user account and group
# Function: install the mysql user account and group
# and create the MySQL database directory
#
do_pre_install()
@ -26,7 +26,7 @@ fi
# Add user 'mysql' in /etc/passwd
if [ "`egrep '^mysql:' /etc/passwd`" = "" ]; then
echo "===> Creating MySQL user, uid $MYSQLUID"
echo "===> Creating mysql user, uid $MYSQLUID"
adduser -batch mysql mysql "MySQL Account,,," ${PASS} > /dev/null 2>&1 /dev/null
if [ $? -eq 0 ]; then
echo "===> Using account mysql for MySQL, uid $MYSQLUID, gid $MYSQLGID"