diff options
author | Julien Valroff <julien@kirya.net> | 2010-08-29 20:41:13 +0200 |
---|---|---|
committer | Julien Valroff <julien@kirya.net> | 2010-08-29 20:41:13 +0200 |
commit | fd8f9a9aac032539390bf22d063bcb68d32390f0 (patch) | |
tree | e161a20ffd27f8dc982dfbceb06357aeee58fcd9 | |
parent | 6ab8ac3fe70febab6a2dadeef5dd611d540c2b28 (diff) |
Use tempfile to specify the mode of the generated tempfile
-rw-r--r-- | debian/mailgraph.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mailgraph.postinst b/debian/mailgraph.postinst index 75ea6c0..31088e0 100644 --- a/debian/mailgraph.postinst +++ b/debian/mailgraph.postinst @@ -30,7 +30,7 @@ case "$1" in db_get mailgraph/ignore_localhost IGNORE_LOCALHOST=$RET - TEMPFILE=`mktemp` + TEMPFILE=`tempfile -m 644` cat << EOF > $TEMPFILE # This file is sourced by /etc/init.d/mailgraph # |