diff options
author | ale <ale@FreeBSD.org> | 2004-01-18 08:59:41 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-01-18 08:59:41 +0800 |
commit | ff5cc7d1f4d9c3e483ce0597f43e26fd1b024d34 (patch) | |
tree | ac485b03ead97a1e8a5d26a28a14b48f8716ea2d /databases/mysql40-server/pkg-install | |
parent | c155d41477a6c65b0c7a903ad9a5246c8e6654e0 (diff) | |
download | freebsd-ports-gnome-ff5cc7d1f4d9c3e483ce0597f43e26fd1b024d34.tar.gz freebsd-ports-gnome-ff5cc7d1f4d9c3e483ce0597f43e26fd1b024d34.tar.zst freebsd-ports-gnome-ff5cc7d1f4d9c3e483ce0597f43e26fd1b024d34.zip |
Sync with recent mysql323 changes:
- Correctly support PTHREAD_LIBS/CFLAGS
- Use USE_GNOME=lthack
- Propagate DB_DIR in packages
- Use my @FreeBSD.org email address
Approved by: nork (mentor/implicitly)
Diffstat (limited to 'databases/mysql40-server/pkg-install')
-rw-r--r-- | databases/mysql40-server/pkg-install | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/databases/mysql40-server/pkg-install b/databases/mysql40-server/pkg-install index 27732bf35c89..88a0b1c66915 100644 --- a/databases/mysql40-server/pkg-install +++ b/databases/mysql40-server/pkg-install @@ -1,9 +1,6 @@ #!/bin/sh PATH=/bin:/usr/sbin -if [ -z "${DB_DIR}" ]; then - DB_DIR=/var/db/mysql -fi case $2 in POST-INSTALL) @@ -11,6 +8,7 @@ POST-INSTALL) GROUP=${USER} UID=88 GID=${UID} + DB_DIR=%%DB_DIR%% if pw group show "${GROUP}" 2>/dev/null; then echo "You already have a group \"${GROUP}\", so I will use it." |