summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mysql
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-10-10 03:24:51 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-10-10 03:24:51 (GMT)
commitbd5bf3ecdb7757918a4d12add60ae295c837a2b7 (patch)
tree853f47931df0dc353cf3cd686d8ae3124856f546 /abs/core-testing/mysql
parent7b2e6f1ddc789ae25da62e50e4d3780773b8afbd (diff)
downloadlinhes_pkgbuild-bd5bf3ecdb7757918a4d12add60ae295c837a2b7.zip
linhes_pkgbuild-bd5bf3ecdb7757918a4d12add60ae295c837a2b7.tar.gz
linhes_pkgbuild-bd5bf3ecdb7757918a4d12add60ae295c837a2b7.tar.bz2
Remove the annoying onscreen message when the first db is installed.
Redirect to /dev/null
Diffstat (limited to 'abs/core-testing/mysql')
-rw-r--r--abs/core-testing/mysql/PKGBUILD9
-rwxr-xr-xabs/core-testing/mysql/mysqld4
2 files changed, 5 insertions, 8 deletions
diff --git a/abs/core-testing/mysql/PKGBUILD b/abs/core-testing/mysql/PKGBUILD
index 88460bc..6627a97 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=1
+pkgrel=3
pkgdesc="A fast SQL database server"
arch=(i686 x86_64)
backup=(etc/my.cnf etc/conf.d/mysqld)
@@ -47,8 +47,5 @@ build() {
install -D -m644 ../mysqld.conf.d ${startdir}/pkg/etc/conf.d/mysqld
rm -f ${startdir}/pkg/usr/bin/mysql_config
}
-md5sums=('2709a53f3da6f1cd868825ed2ea80431'
- 'e892aac36cbeb57f0e003ec0936afb3b'
- '64d79a5a34043c1de949d734b720c217'
- '0ee035590ffc61d32de994f461fd2bd2'
- '4a9077fc95ec6db1d5420e0cdc74d31c')
+
+
diff --git a/abs/core-testing/mysql/mysqld b/abs/core-testing/mysql/mysqld
index 0fcecf7..e7f90d2 100755
--- a/abs/core-testing/mysql/mysqld
+++ b/abs/core-testing/mysql/mysqld
@@ -23,7 +23,7 @@ fi
if [ ! -d $MYSQLD_ROOT ]; then
mkdir $MYSQLD_ROOT
- /usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql
+ /usr/bin/mysql_install_db --datadir=$MYSQLD_ROOT --user=mysql 2>/dev/null > /dev/null
chown -R mysql.mysql $MYSQLD_ROOT
fi
@@ -36,7 +36,7 @@ case "$1" in
start)
stat_busy "Starting MySQL"
if [ -z "$PID" ]; then
- /usr/bin/mysqld_safe --datadir=$MYSQLD_ROOT &>/dev/null &
+ /usr/bin/mysqld_safe --datadir=$MYSQLD_ROOT 2>/dev/null >/dev/null &
if [ $? -gt 0 ]; then
stat_fail
exit 1