[Groonga-mysql-commit] mroonga/mroonga [master] create local apparmor file.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 3月 30日 (水) 00:38:03 JST


Kouhei Sutou	2011-03-29 15:38:03 +0000 (Tue, 29 Mar 2011)

  New Revision: 9fcd9b49e896be1a817e076c7bd8d457221f9a9a

  Log:
    create local apparmor file.

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

  Modified: debian/mysql-server-groonga.postinst (+1 -1)
===================================================================
--- debian/mysql-server-groonga.postinst    2011-03-29 15:18:03 +0000 (eeb76d1)
+++ debian/mysql-server-groonga.postinst    2011-03-29 15:38:03 +0000 (0c856a8)
@@ -37,7 +37,7 @@ if test -f "${mysql_local_apparmor_profile}"; then
     local_apparmor_profile=/etc/apparmor.d/local/${apparmor_profile_name}
     if ! test -e "$local_apparmor_profile"; then
 	mkdir -p $(dirname "$local_apparmor_profile")
-	cat <<EOF
+	cat <<EOF > "$local_apparmor_profile"
 # Site-specific additions and overrides for ${apparmor_profile_name}.
 # For more details, please see /etc/apparmor.d/local/README.
 EOF




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