~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to support-files/MacOSX/postflight.sh

  • Committer: Brian Aker
  • Date: 2008-06-30 05:41:20 UTC
  • Revision ID: brian@tangent.org-20080630054120-qggcxqh7k7zf09r9
Dead support files, removed gethostbyname_r (we do not use it any longer). 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
#
3
 
# postflight - this script will be executed after the MySQL PKG
4
 
# installation has been performed.
5
 
#
6
 
# This script will install the MySQL privilege tables using the
7
 
# "mysql_install_db" script and will correct the ownerships of these files
8
 
# afterwards.
9
 
#
10
 
 
11
 
if cd @prefix@ ; then
12
 
        if [ ! -f data/mysql/db.frm ] ; then
13
 
                ./scripts/mysql_install_db --rpm
14
 
        fi
15
 
 
16
 
        if [ -d data ] ; then
17
 
                chown -R @MYSQLD_USER@ data
18
 
        fi
19
 
else
20
 
        exit $?
21
 
fi