[Pkg-cups-devel] r361 - cupsys/branches/cups-1.2-ubuntu/debian
Martin Pitt
mpitt at costa.debian.org
Tue Sep 12 10:05:36 UTC 2006
Author: mpitt
Date: Tue Sep 12 10:05:34 2006
New Revision: 361
Modified:
cupsys/branches/cups-1.2-ubuntu/debian/changelog
cupsys/branches/cups-1.2-ubuntu/debian/cupsys.init.d
Log:
* debian/cupsys.init.d: Always make sure that log files have proper
permissions. Closes: LP#54277
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 Sep 12 10:05:34 2006
@@ -1,3 +1,10 @@
+cupsys (1.2.3-0ubuntu2) edgy; urgency=low
+
+ * debian/cupsys.init.d: Always make sure that log files have proper
+ permissions. Closes: LP#54277
+
+ -- Martin Pitt <martin.pitt at ubuntu.com> Tue, 12 Sep 2006 12:02:43 +0200
+
cupsys (1.2.3-0ubuntu1) edgy; urgency=medium
* New upstream bugfix release (UVF exception approved by Colin Watson).
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 Sep 12 10:05:34 2006
@@ -34,11 +34,9 @@
# create the logs file since cupsd can't
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
+ [ -e /var/log/cups/$l ] && touch /var/log/cups/$l
+ chmod 640 /var/log/cups/$l
+ chown cupsys:lpadmin /var/log/cups/$l
done
if [ "$LOAD_LP_MODULE" = "yes" -a -f /usr/lib/cups/backend/parallel \
More information about the Pkg-cups-devel
mailing list