Navigation Menu

Skip to content

Commit

Permalink
[deb] fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 29, 2012
1 parent 6475b0d commit fa5df73
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/debian/mysql-server-mroonga-compatible.install
@@ -1,2 +1,2 @@
usr/lib/mysql/plugin/ha_groonga.so*
debian/apparmor/mysql-server-mroonga etc/apparmor.d/abstractions/
debian/apparmor/mysql-server-mroonga etc/apparmor.d/abstractions/mysql-server-mroonga-compatible
4 changes: 2 additions & 2 deletions packages/debian/mysql-server-mroonga-compatible.postinst
Expand Up @@ -15,7 +15,7 @@ install_apparmor() {
mysql_apparmor_profile_name=usr.sbin.mysqld
mysql_apparmor_profile=/etc/apparmor.d/${mysql_apparmor_profile_name}
mysql_local_apparmor_profile=/etc/apparmor.d/local/${mysql_apparmor_profile_name}
apparmor_profile_name=mysql-server-mroonga
apparmor_profile_name=mysql-server-mroonga-compatible
include_profile="#include <abstractions/${apparmor_profile_name}>"
local_apparmor_profile=/etc/apparmor.d/local/${apparmor_profile_name}
if test -f "${mysql_local_apparmor_profile}"; then
Expand All @@ -33,7 +33,7 @@ install_apparmor() {
cat <<EOF >> "${mysql_abstraction_apparmor_profile}"
# ${apparmor_profile_name}: START
# Added by mysql-server-mroonga.
# Added by mysql-server-mroonga-compatible.
${mysql_plugin_dir}/ r,
${mysql_plugin_dir}/*.so* mr,
${include_profile}
Expand Down
2 changes: 1 addition & 1 deletion packages/debian/mysql-server-mroonga-compatible.postrm
Expand Up @@ -12,7 +12,7 @@ if [ "$1" = "purge" ]; then
mysql_apparmor_profile=/etc/apparmor.d/${mysql_apparmor_profile_name}
mysql_local_apparmor_profile=/etc/apparmor.d/local/${mysql_apparmor_profile_name}
mysql_abstraction_apparmor_profile=/etc/apparmor.d/abstractions/mysql
apparmor_profile_name=mysql-server-groonga
apparmor_profile_name=mysql-server-mroonga-compatible
if test -f "${mysql_local_apparmor_profile}"; then
include_profile="#include <abstractions/${apparmor_profile_name}>"
if grep -q "${include_profile}" "${mysql_local_apparmor_profile}"; then
Expand Down
2 changes: 1 addition & 1 deletion packages/debian/mysql-server-mroonga.postrm
Expand Up @@ -12,7 +12,7 @@ if [ "$1" = "purge" ]; then
mysql_apparmor_profile=/etc/apparmor.d/${mysql_apparmor_profile_name}
mysql_local_apparmor_profile=/etc/apparmor.d/local/${mysql_apparmor_profile_name}
mysql_abstraction_apparmor_profile=/etc/apparmor.d/abstractions/mysql
apparmor_profile_name=mysql-server-groonga
apparmor_profile_name=mysql-server-mroonga
if test -f "${mysql_local_apparmor_profile}"; then
include_profile="#include <abstractions/${apparmor_profile_name}>"
if grep -q "${include_profile}" "${mysql_local_apparmor_profile}"; then
Expand Down

0 comments on commit fa5df73

Please sign in to comment.