Navigation Menu

Skip to content

Commit

Permalink
[debian] fix apparmor config path.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 29, 2011
1 parent d67598a commit 3213fb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/debian/mysql-server-mroonga.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-groonga
apparmor_profile_name=mysql-server-mroonga
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-groonga.
# Added by mysql-server-mroonga.
${mysql_plugin_dir}/ r,
${mysql_plugin_dir}/*.so* mr,
${include_profile}
Expand Down

0 comments on commit 3213fb4

Please sign in to comment.