summaryrefslogtreecommitdiff
path: root/databases/percona55-server/pkg-install
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-12-19 21:12:36 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-12-19 21:12:36 +0000
commit616aaf4b1fc83a87f7a49e0e81e8f7c9db6dbcad (patch)
treeeca5ff8ef89030731d682a14daebcc8cbd2245ac /databases/percona55-server/pkg-install
parent- Fix modes of the temp directory [1] (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_7_1_0'.release/7.1.0
Notes
Notes: svn path=/head/; revision=224474 svn path=/tags/RELEASE_7_1_0/; revision=224475; tag=release/7.1.0
Diffstat (limited to 'databases/percona55-server/pkg-install')
-rw-r--r--databases/percona55-server/pkg-install36
1 files changed, 0 insertions, 36 deletions
diff --git a/databases/percona55-server/pkg-install b/databases/percona55-server/pkg-install
deleted file mode 100644
index 586f846c5031..000000000000
--- a/databases/percona55-server/pkg-install
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-PATH=/bin:/usr/sbin
-
-case $2 in
-POST-INSTALL)
- USER=mysql
- GROUP=${USER}
- UID=88
- GID=${UID}
-
- if pw group show "${GROUP}" 2>/dev/null; then
- echo "You already have a group \"${GROUP}\", so I will use it."
- else
- if pw groupadd ${GROUP} -g ${GID}; then
- echo "Added group \"${GROUP}\"."
- else
- echo "Adding group \"${GROUP}\" failed..."
- exit 1
- fi
- fi
-
- if pw user show "${USER}" 2>/dev/null; then
- echo "You already have a user \"${USER}\", so I will use it."
- else
- if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
- -d /nonexistent -s /sbin/nologin -c "MySQL Daemon"
- then
- echo "Added user \"${USER}\"."
- else
- echo "Adding user \"${USER}\" failed..."
- exit 1
- fi
- fi
- ;;
-esac