Commit ed0d295e authored by unknown's avatar unknown

- 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
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
EXTRA_DIST = Info.plist.sh \ EXTRA_DIST = Info.plist.sh \
Description.plist.sh \ Description.plist.sh \
StartupParameters.plist.sh \ StartupParameters.plist.sh \
postinstall.sh \ postflight.sh \
preinstall.sh \ preflight.sh \
ReadMe.txt \ ReadMe.txt \
MySQL \ MySQL \
StartupItem.Description.plist \ StartupItem.Description.plist \
...@@ -31,14 +31,14 @@ EXTRA_DIST = Info.plist.sh \ ...@@ -31,14 +31,14 @@ EXTRA_DIST = Info.plist.sh \
noinst_DATA = Info.plist \ noinst_DATA = Info.plist \
Description.plist \ Description.plist \
StartupParameters.plist \ StartupParameters.plist \
postinstall \ postflight \
preinstall preflight
CLEANFILES = Info.plist \ CLEANFILES = Info.plist \
Description.plist \ Description.plist \
StartupParameters.plist \ StartupParameters.plist \
postinstall \ postflight \
preinstall preflight
SUFFIXES = .sh SUFFIXES = .sh
......
#!/bin/sh #!/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. # installation has been performed.
# #
# This script will install the MySQL privilege tables using the # This script will install the MySQL privilege tables using the
......
#!/bin/sh #!/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. # installation will be performed.
# #
# If this package has been compiled with a prefix ending with "mysql" (e.g. # 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 # directory with this name before installing the new package (which includes
# a symlink named "mysql", pointing to the newly installed directory, which # a symlink named "mysql", pointing to the newly installed directory, which
# is named mysql-<version>) # is named mysql-<version>)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment