[arch-commits] Commit in mysql/trunk (PKGBUILD mysqld-post.sh)
Andrea Scarpino
andrea at archlinux.org
Wed Aug 15 14:08:24 UTC 2012
Date: Wednesday, August 15, 2012 @ 10:08:23
Author: andrea
Revision: 165317
Add the shebang in the mysqld-post script (FS#31127); Install the tmpfile in /usr/lib
Modified:
mysql/trunk/PKGBUILD
mysql/trunk/mysqld-post.sh
----------------+
PKGBUILD | 4 ++--
mysqld-post.sh | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-08-15 13:47:42 UTC (rev 165316)
+++ PKGBUILD 2012-08-15 14:08:23 UTC (rev 165317)
@@ -5,7 +5,7 @@
pkgbase=mysql
pkgname=('libmysqlclient' 'mysql-clients' 'mysql')
pkgver=5.5.27
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
license=('GPL')
url="https://www.mysql.com/products/community/"
@@ -111,7 +111,7 @@
install -Dm644 "${srcdir}"/my.cnf "${pkgdir}"/etc/mysql/my.cnf
install -Dm755 "${srcdir}"/mysqld.rc "${pkgdir}"/etc/rc.d/mysqld
install -Dm755 "${srcdir}"/mysqld-post.sh "${pkgdir}"/usr/bin/mysqld-post
- install -Dm644 "${srcdir}"/mysqld-tmpfile.conf "${pkgdir}"/etc/tmpfiles.d/mysqld.conf
+ install -Dm644 "${srcdir}"/mysqld-tmpfile.conf "${pkgdir}"/usr/lib/tmpfiles.d/mysqld.conf
install -d "${pkgdir}"/usr/lib/systemd/system
install -Dm644 "${srcdir}"/mysqld.service "${pkgdir}"/usr/lib/systemd/system/
Modified: mysqld-post.sh
===================================================================
--- mysqld-post.sh 2012-08-15 13:47:42 UTC (rev 165316)
+++ mysqld-post.sh 2012-08-15 14:08:23 UTC (rev 165317)
@@ -1,3 +1,5 @@
+#!/bin/sh
+
while true; do
response=`/usr/bin/mysqladmin -uUNKNOWN_USER ping 2>&1` && break
echo "$response" | grep -q "mysqld is alive" && break
More information about the arch-commits
mailing list