summarylogtreecommitdiffstats
path: root/xampp.install
diff options
context:
space:
mode:
Diffstat (limited to 'xampp.install')
-rw-r--r--xampp.install6
1 files changed, 4 insertions, 2 deletions
diff --git a/xampp.install b/xampp.install
index d58258302b82..61125ae77cde 100644
--- a/xampp.install
+++ b/xampp.install
@@ -1,10 +1,12 @@
+_mysql_uuid=992
+
post_install() {
if ! id -u mysql &> /dev/null; then
echo "Creating user 'mysql'..."
- groupadd mysql -g 992
- useradd -u 992 -r -g mysql -s /bin/false mysql
+ groupadd mysql -g "${_mysql_uuid}"
+ useradd -u "${_mysql_uuid}" -r -g mysql -s /bin/false mysql
fi