diff options
Diffstat (limited to 'databases/mysql41-server/pkg-install')
-rw-r--r-- | databases/mysql41-server/pkg-install | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/databases/mysql41-server/pkg-install b/databases/mysql41-server/pkg-install index 27732bf35c89..88a0b1c66915 100644 --- a/databases/mysql41-server/pkg-install +++ b/databases/mysql41-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." |