[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] improve variable name.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:48:50 JST 2012


Kouhei Sutou	2011-03-30 01:05:23 +0900 (Wed, 30 Mar 2011)

  New Revision: f13946d0a0220b574f8f586bb86f8df51eed4e4b
  https://github.com/mroonga/mroonga/commit/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-30 01:05:13 +0900 (05d530a)
+++ debian/mysql-server-groonga.postinst    2011-03-30 01:05:23 +0900 (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
-------------- next part --------------
HTML����������������������������...
Download 



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