From fd8f9a9aac032539390bf22d063bcb68d32390f0 Mon Sep 17 00:00:00 2001 From: Julien Valroff Date: Sun, 29 Aug 2010 20:41:13 +0200 Subject: Use tempfile to specify the mode of the generated tempfile --- debian/mailgraph.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 # -- cgit v1.2.3