[Groonga-mysql-commit] mroonga/mroonga at b7fc5d9 [master] package centos: prefer the last password

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Nov 2 17:05:18 JST 2015


Kouhei Sutou	2015-11-02 17:05:18 +0900 (Mon, 02 Nov 2015)

  New Revision: b7fc5d958683e3da27e32bf79b4589759c370598
  https://github.com/mroonga/mroonga/commit/b7fc5d958683e3da27e32bf79b4589759c370598

  Message:
    package centos: prefer the last password

  Modified files:
    packages/rpm/centos/mysql57-community-mroonga.spec.in

  Modified: packages/rpm/centos/mysql57-community-mroonga.spec.in (+1 -1)
===================================================================
--- packages/rpm/centos/mysql57-community-mroonga.spec.in    2015-11-02 15:15:23 +0900 (f257c28)
+++ packages/rpm/centos/mysql57-community-mroonga.spec.in    2015-11-02 17:05:18 +0900 (d304f4b)
@@ -107,7 +107,7 @@ rm -rf $RPM_BUILD_ROOT
 if ! /sbin/service mysqld status > /dev/null; then
   /sbin/service mysqld start
   stop_after_installation=1
-  auto_generated_password=`awk '/root �� localhost/{print $NF}' /var/log/mysqld.log`
+  auto_generated_password=`awk '/root �� localhost/{print $NF}' /var/log/mysqld.log | tail -n 1`
 else
   stop_after_installation=0
 fi
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index