summaryrefslogtreecommitdiffstats
path: root/abs/core-testing
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing')
-rw-r--r--abs/core-testing/mysql/PKGBUILD2
-rwxr-xr-xabs/core-testing/mysql/mysqld2
2 files changed, 2 insertions, 2 deletions
diff --git a/abs/core-testing/mysql/PKGBUILD b/abs/core-testing/mysql/PKGBUILD
index 87f8528..f854e9a 100644
--- a/abs/core-testing/mysql/PKGBUILD
+++ b/abs/core-testing/mysql/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: judd <jvinet@zeroflux.org>
pkgname=mysql
pkgver=5.0.60
-pkgrel=5
+pkgrel=6
pkgdesc="A fast SQL database server"
arch=(i686 x86_64)
backup=(etc/my.cnf etc/conf.d/mysqld)
diff --git a/abs/core-testing/mysql/mysqld b/abs/core-testing/mysql/mysqld
index e7f90d2..8fd1b6c 100755
--- a/abs/core-testing/mysql/mysqld
+++ b/abs/core-testing/mysql/mysqld
@@ -22,7 +22,7 @@ if [ ! `egrep '^mysql:' /etc/passwd` ]; then
fi
if [ ! -d $MYSQLD_ROOT ]; then
- mkdir $MYSQLD_ROOT
+ mkdir -p $MYSQLD_ROOT 2> /dev/null
/usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql 2>/dev/null > /dev/null
chown -R mysql.mysql $MYSQLD_ROOT
fi