Commit ed0d295e authored by unknown's avatar unknown
Browse files

- Fix for BUG#11380 (as recommened by JimW): renamed the preinstall/postinstall scripts to

  preflight/postflight instead, so they are run every time a PKG is installed, not only for
  a fresh installation


support-files/MacOSX/Makefile.am:
  - Fix for BUG#11380 (as recommened by JimW): renamed the preinstall/postinstall scripts to
    preflight/postflight instead, so they are run every time, not only for a fresh installation
support-files/MacOSX/postflight.sh:
  - Fix for BUG#11380 (as recommened by JimW): renamed the preinstall/postinstall scripts to
    preflight/postflight instead, so they are run every time, not only for a fresh installation
support-files/MacOSX/preflight.sh:
  - Fix for BUG#11380 (as recommened by JimW): renamed the preinstall/postinstall scripts to
    preflight/postflight instead, so they are run every time, not only for a fresh installation
  - fixed comment typo
parent 8c5e6af5
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -20,8 +20,8 @@
EXTRA_DIST =	Info.plist.sh \
		Description.plist.sh \
		StartupParameters.plist.sh \
		postinstall.sh \
		preinstall.sh \
		postflight.sh \
		preflight.sh \
		ReadMe.txt \
		MySQL \
		StartupItem.Description.plist \
@@ -31,14 +31,14 @@ EXTRA_DIST = Info.plist.sh \
noinst_DATA = Info.plist \
		Description.plist \
		StartupParameters.plist \
		postinstall \
		preinstall
		postflight \
		preflight

CLEANFILES =	Info.plist \
		Description.plist \
		StartupParameters.plist \
		postinstall \
		preinstall
		postflight \
		preflight

SUFFIXES = .sh

+1 −1
Original line number Diff line number Diff line
#!/bin/sh
#
# postinstall - this script will be executed after the MySQL PKG
# postfligh - this script will be executed after the MySQL PKG
# installation has been performed.
#
# This script will install the MySQL privilege tables using the
+2 −2
Original line number Diff line number Diff line
#!/bin/sh
#
# preinstall - this script will be executed before the MySQL PKG
# preflight - this script will be executed before the MySQL PKG
# installation will be performed.
#
# If this package has been compiled with a prefix ending with "mysql" (e.g.
# /usr/local/mysql or /opt/mysql), it will rename any previosuly existing
# /usr/local/mysql or /opt/mysql), it will rename any previously existing
# directory with this name before installing the new package (which includes
# a symlink named "mysql", pointing to the newly installed directory, which
# is named mysql-<version>)