summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-13 16:02:55 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-13 16:02:55 (GMT)
commit408fa0a3e9778076630c9f310bbd37240ba7e37f (patch)
tree2bdc389cce32e2fce2c55c47b468c4c2a46bbd9e /abs
parent1862c1b11587bc47f9b3e4bd47c999ff0bf83525 (diff)
downloadlinhes_pkgbuild-408fa0a3e9778076630c9f310bbd37240ba7e37f.zip
linhes_pkgbuild-408fa0a3e9778076630c9f310bbd37240ba7e37f.tar.gz
linhes_pkgbuild-408fa0a3e9778076630c9f310bbd37240ba7e37f.tar.bz2
stop the error about can't create the mysql data dir on boot
Diffstat (limited to 'abs')
-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