summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2010-08-29 20:41:13 +0200
committerJulien Valroff <julien@kirya.net>2010-08-29 20:41:13 +0200
commitfd8f9a9aac032539390bf22d063bcb68d32390f0 (patch)
treee161a20ffd27f8dc982dfbceb06357aeee58fcd9
parent6ab8ac3fe70febab6a2dadeef5dd611d540c2b28 (diff)
Use tempfile to specify the mode of the generated tempfile
-rw-r--r--debian/mailgraph.postinst2
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
#