summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/mysql')
-rw-r--r--abs/core-testing/mysql/PKGBUILD2
-rw-r--r--abs/core-testing/mysql/__changelog3
-rwxr-xr-xabs/core-testing/mysql/mysqld4
3 files changed, 5 insertions, 4 deletions
diff --git a/abs/core-testing/mysql/PKGBUILD b/abs/core-testing/mysql/PKGBUILD
index 8c9763a..11df8fb 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.75
-pkgrel=2
+pkgrel=3
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/__changelog b/abs/core-testing/mysql/__changelog
index 5e620ec..4fa7078 100644
--- a/abs/core-testing/mysql/__changelog
+++ b/abs/core-testing/mysql/__changelog
@@ -4,4 +4,5 @@ my.cnf
mysqld
-redirect output to /dev/null
- --skip-name-resolve \ No newline at end of file
+ --skip-name-resolve
+ replace mkdir with mkdir -p
diff --git a/abs/core-testing/mysql/mysqld b/abs/core-testing/mysql/mysqld
index 7bada3d..5857df8 100755
--- a/abs/core-testing/mysql/mysqld
+++ b/abs/core-testing/mysql/mysqld
@@ -22,8 +22,8 @@ if [ ! `egrep '^mysql:' /etc/passwd` ]; then
fi
if [ ! -d $MYSQLD_ROOT ]; then
- mkdir $MYSQLD_ROOT
- /usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql
+ mkdir -p $MYSQLD_ROOT
+ /usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql 2>/dev/null 1>/dev/null
chown -R mysql.mysql $MYSQLD_ROOT
fi