Commit c1c336f8 authored by lenz@mysql.com's avatar lenz@mysql.com

- 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
parent 776bf913
......@@ -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
......
#!/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
......
#!/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>)
......
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