[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] create local apparmor file.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:33:55 JST 2012


Kouhei Sutou	2011-03-30 00:38:03 +0900 (Wed, 30 Mar 2011)

  New Revision: 9fcd9b49e896be1a817e076c7bd8d457221f9a9a
  https://github.com/mroonga/mroonga/commit/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-30 00:18:03 +0900 (eeb76d1)
+++ debian/mysql-server-groonga.postinst    2011-03-30 00:38:03 +0900 (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
-------------- next part --------------
HTML����������������������������...
Download 



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