summarylogtreecommitdiffstats
path: root/xampp.install
diff options
context:
space:
mode:
authorgrufo2019-03-02 18:57:09 +0000
committergrufo2019-03-02 18:57:09 +0000
commitd6ad7554e6195636f0422cb51cfc339077d4afa4 (patch)
treec35736ed4375163c87d4a9c39183a3df597ab829 /xampp.install
parent89564b13acecb3818ac0e6252ee50dfb59e8c327 (diff)
downloadaur-d6ad7554e6195636f0422cb51cfc339077d4afa4.tar.gz
New release (7.3.2-0)
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