From 13bd19f59c73e42e3119a8858edcf56372e0a21f Mon Sep 17 00:00:00 2001 From: Dragan Dosen Date: Sun, 6 Apr 2008 20:10:51 +0200 Subject: [PATCH] debian/postinst - added 'chmod 644' for ini file; after mktemp (line 201) and cp_mv. --- debian/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/postinst b/debian/postinst index 32ef34f..17d1c41 100755 --- a/debian/postinst +++ b/debian/postinst @@ -216,8 +216,8 @@ for SAPI in apache2 cli; do need_restart=1 fi cp_mv "$ini_file_tmp" "$ini_file" - - + chmod 644 "$ini_file" + if [ -e "$ini_file_tmp" ]; then rm -f "$ini_file_tmp" fi -- 1.7.10.4