HAYASHI Kentaro
null+****@clear*****
Sun Sep 29 19:21:46 JST 2013
HAYASHI Kentaro 2013-09-29 19:21:46 +0900 (Sun, 29 Sep 2013) New Revision: 4b46b9866a4f4bbdad4f5e49a30f18826b5760e1 https://github.com/mroonga/mroonga/commit/4b46b9866a4f4bbdad4f5e49a30f18826b5760e1 Message: rpm centos: unify the condition to require restarting Modified files: packages/rpm/centos/mysql-mroonga.spec.in Modified: packages/rpm/centos/mysql-mroonga.spec.in (+2 -6) =================================================================== --- packages/rpm/centos/mysql-mroonga.spec.in 2013-09-29 17:36:11 +0900 (73a2f0c) +++ packages/rpm/centos/mysql-mroonga.spec.in 2013-09-29 19:21:46 +0900 (6d4d9ec) @@ -153,12 +153,8 @@ CREATE FUNCTION mroonga_command RETURNS STRING SONAME 'ha_mroonga.so'; CREATE FUNCTION mroonga_escape RETURNS STRING SONAME 'ha_mroonga.so'; " if [ "$1" = 2 ] ; then - if [ $current_version -eq 0 ]; then - : - elif [ $current_version -lt $required_version ]; then - sql="$drop_sql -$install_sql -" + if [ $current_version -lt $required_version ]; then + sql="$drop_sql$install_sql" command="/usr/bin/mysql -u root $password_option -e \"$sql\"" echo "run the following command after restarting mysql server:"; echo " $command" -------------- next part -------------- HTML����������������������������... ダウンロード