[Groonga-mysql-commit] mroonga/mroonga [master] improve variable name.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 3月 30日 (水) 01:05:23 JST


Kouhei Sutou	2011-03-29 16:05:23 +0000 (Tue, 29 Mar 2011)

  New Revision: f13946d0a0220b574f8f586bb86f8df51eed4e4b

  Log:
    improve variable name.

  Modified files:
    debian/mysql-server-groonga.postinst

  Modified: debian/mysql-server-groonga.postinst (+3 -3)
===================================================================
--- debian/mysql-server-groonga.postinst    2011-03-29 16:05:13 +0000 (05d530a)
+++ debian/mysql-server-groonga.postinst    2011-03-29 16:05:23 +0000 (09e1ac6)
@@ -29,10 +29,10 @@ mysql_apparmor_profile=/etc/apparmor.d/${mysql_apparmor_profile_name}
 mysql_local_apparmor_profile=/etc/apparmor.d/local/${mysql_apparmor_profile_name}
 if test -f "${mysql_local_apparmor_profile}"; then
     apparmor_profile_name=mysql-server-groonga
-    include_ha_groonga="#include <abstractions/${apparmor_profile_name}>"
-    if ! grep -q "${include_ha_groonga}" "${mysql_local_apparmor_profile}"; then
+    include_profile="#include <abstractions/${apparmor_profile_name}>"
+    if ! grep -q "${include_profile}" "${mysql_local_apparmor_profile}"; then
 	echo >> "${mysql_local_apparmor_profile}"
-	echo "${include_ha_groonga}" >> "${mysql_local_apparmor_profile}"
+	echo "${include_profile}" >> "${mysql_local_apparmor_profile}"
     fi
     local_apparmor_profile=/etc/apparmor.d/local/${apparmor_profile_name}
     if ! test -e "$local_apparmor_profile"; then




Groonga-mysql-commit メーリングリストの案内
Back to archive index