• unknown's avatar
    - added more files to support-files/MacOSX and added them to the · 68ee31cf
    unknown authored
       distribution
     - added Bootstrap, logger.pm and Do-pkg to Build-tools:
       Bootstrap is used to build the source distribution for the binary builds
       logger.pm includes some helper functions
       Do-pkg converts a binary distribution into a Mac OS X PKG (still needs
       some polishing)
    
    
    support-files/MacOSX/Description.plist.sh:
       - Shortened IFPkgDescriptionDescription a bit
    support-files/MacOSX/Makefile.am:
       - Added more files (StartupParameters.plist, postinstall, preinstall) to
         distribution
    68ee31cf
postinstall.sh 405 Bytes
#!/bin/sh
#
# postinstall - this script will be executed after the MySQL PKG
# installation has been performed.
#
# This script will install the MySQL privilege tables using the
# "mysql_install_db" script and will correct the ownerships of these files
# afterwards.
#

cd @prefix@
if [ ! -f data/mysql/db.frm ] ; then
	./scripts/mysql_install_db
fi

if [ -d data ] ; then
	chown -R @MYSQLD_USER@ data
fi