summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-01-19 15:21:58 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-01-19 15:21:58 (GMT)
commite7d7822ab75eeb5b35fd7ee6d9a1cfc4e730272e (patch)
tree4985b0e82c15883483f5b60aebc59f23e84078b6 /abs/core-testing/runit-scripts
parentf0055f30233637b74ca08c9cabddb0dafa58e10d (diff)
downloadlinhes_pkgbuild-e7d7822ab75eeb5b35fd7ee6d9a1cfc4e730272e.zip
linhes_pkgbuild-e7d7822ab75eeb5b35fd7ee6d9a1cfc4e730272e.tar.gz
linhes_pkgbuild-e7d7822ab75eeb5b35fd7ee6d9a1cfc4e730272e.tar.bz2
add mkdir -p to the default mysql run script
redirect crap to /dev/null
Diffstat (limited to 'abs/core-testing/runit-scripts')
-rwxr-xr-xabs/core-testing/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/mysql/run4
2 files changed, 3 insertions, 3 deletions
diff --git a/abs/core-testing/runit-scripts/PKGBUILD b/abs/core-testing/runit-scripts/PKGBUILD
index ccd0d1f..8deb06f 100755
--- a/abs/core-testing/runit-scripts/PKGBUILD
+++ b/abs/core-testing/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=1.8.0
-pkgrel=26
+pkgrel=27
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/mysql/run b/abs/core-testing/runit-scripts/runitscripts/services/mysql/run
index 10b1c75..bfb367f 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/mysql/run
+++ b/abs/core-testing/runit-scripts/runitscripts/services/mysql/run
@@ -17,8 +17,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