[Pkg-cups-devel] r213 - cupsys/branches/cups-1.2-ubuntu/debian

Martin Pitt mpitt at costa.debian.org
Tue May 2 17:35:44 UTC 2006


Author: mpitt
Date: Tue May  2 17:35:41 2006
New Revision: 213

Modified:
   cupsys/branches/cups-1.2-ubuntu/debian/changelog
   cupsys/branches/cups-1.2-ubuntu/debian/cupsys.init.d

Log:
* debian/cupsys.init.d: Fix log creation for real. Closes: LP#41267

Modified: cupsys/branches/cups-1.2-ubuntu/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/changelog	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/changelog	Tue May  2 17:35:41 2006
@@ -1,8 +1,8 @@
 cupsys (1.1.99.rc3-0ubuntu2) dapper; urgency=low
 
-  *
+  * debian/cupsys.init.d: Fix log creation for real. Closes: LP#41267
 
- -- Martin Pitt <martin.pitt at ubuntu.com>  Tue, 25 Apr 2006 20:28:16 +0200
+ -- Martin Pitt <martin.pitt at ubuntu.com>  Tue,  2 May 2006 19:33:36 +0200
 
 cupsys (1.1.99.rc3-0ubuntu1) dapper; urgency=low
 

Modified: cupsys/branches/cups-1.2-ubuntu/debian/cupsys.init.d
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/cupsys.init.d	(original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/cupsys.init.d	Tue May  2 17:35:41 2006
@@ -29,11 +29,11 @@
 	chown cupsys:lp `dirname "$PIDFILE"`
 
 	# create the logs file since cupsd can't
-	for l in access page error; do
-	    if [ ! -e /var/log/cups/$l_log ]; then
-		 touch /var/log/cups/$l_log
-		 chmod 640 /var/log/cups/$l_log
-		 chown cupsys:lpadmin /var/log/cups/$l_log
+	for l in access_log page_log error_log; do
+	    if [ ! -e /var/log/cups/$l ]; then
+		 touch /var/log/cups/$l
+		 chmod 640 /var/log/cups/$l
+		 chown cupsys:lpadmin /var/log/cups/$l
 	    fi
 	done
 



More information about the Pkg-cups-devel mailing list