From: Dragan Dosen Date: Sun, 6 Apr 2008 18:10:51 +0000 (+0200) Subject: debian/postinst - added 'chmod 644' for ini file; after mktemp X-Git-Tag: v5.3.3+3~13 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=13bd19f59c73e42e3119a8858edcf56372e0a21f;p=php5-cn.git debian/postinst - added 'chmod 644' for ini file; after mktemp (line 201) and cp_mv. --- 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