- 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
This commit is contained in:
lenz@mysql.com 2005-08-11 20:23:12 +02:00
commit c1c336f84b
3 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -1,6 +1,6 @@
#!/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

View file

@ -1,10 +1,10 @@
#!/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>)