summaryrefslogtreecommitdiff
path: root/mysql/pre-install
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2009-06-13 23:15:46 +0200
committerJuergen Daubert <jue@jue.li>2009-06-13 23:15:46 +0200
commit8576536d44d66528e8a945d1ecef8577afd8dacf (patch)
tree0838a978f1f780c86d8d8c8ba3e5d43a4a09b17e /mysql/pre-install
parent1a6a735ac7954ec9650d0ef199808be2113610da (diff)
downloadopt-8576536d44d66528e8a945d1ecef8577afd8dacf.tar.gz
opt-8576536d44d66528e8a945d1ecef8577afd8dacf.tar.xz
mysql: update to 5.1.35
Diffstat (limited to 'mysql/pre-install')
-rw-r--r--mysql/pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql/pre-install b/mysql/pre-install
new file mode 100644
index 000000000..f856e4005
--- /dev/null
+++ b/mysql/pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+getent group mysql || /usr/sbin/groupadd -g 46 mysql
+getent passwd mysql || /usr/sbin/useradd -g mysql -u 46 -d /var/lib/mysql -s /bin/false mysql
+/usr/bin/passwd -l mysql
+

Generated by cgit