[SCM] Debian packaging of Pinto CPAN distribution branch, master,	updated. 9e622baaeac0150a263ad85307cfef085d4c717d
    Oleg Gashev 
    oleg at gashev.net
       
    Sat Jun  8 13:38:22 UTC 2013
    
    
  
The following commit has been merged in the master branch:
commit 69b50828e1225e8969fa13525677d1e05df3049f
Author: Oleg Gashev <oleg at gashev.net>
Date:   Sat Jun 8 12:04:27 2013 +0000
    Added permissions to /var/log/pinto/access.log and /var/log/pinto/error.log.
diff --git a/debian/pinto.postinst b/debian/pinto.postinst
index 5c52097..0431e8e 100644
--- a/debian/pinto.postinst
+++ b/debian/pinto.postinst
@@ -21,11 +21,13 @@ if [ "$1" = configure ]; then
 
 	if [ ! -e /var/log/pinto/access.log ] ; then
 		touch /var/log/pinto/access.log
+		chown root:adm /var/log/pinto/access.log
 		chmod 0640 /var/log/pinto/access.log
 	fi
 
 	if [ ! -e /var/log/pinto/error.log ] ; then
 		touch /var/log/pinto/error.log
+		chown root:adm /var/log/pinto/error.log
 		chmod 0640 /var/log/pinto/error.log
 	fi
 
-- 
Debian packaging of Pinto CPAN distribution
    
    
More information about the Pkg-perl-cvs-commits
mailing list