[Pkg-cups-devel] r469 - cupsys/trunk/debian

Martin Pitt mpitt at alioth.debian.org
Mon Apr 30 12:51:58 UTC 2007


Author: mpitt
Date: Mon Apr 30 12:51:58 2007
New Revision: 469

Modified:
   cupsys/trunk/debian/changelog
   cupsys/trunk/debian/cupsys.dirs
   cupsys/trunk/debian/cupsys.init.d
Log:
* debian/cupsys.dirs: Add /usr/share/ppd/custom/, a place where lpadmins can
  store additional PPDs (this functionality is e. g. provided in
  gnome-cups-manager's "Custom driver..." file dialog).
* debian/cupsys.init.d: Give proper permissions to /usr/share/ppd/custom/:
  root:lpadmin 3775. Drop the obsolete chmod/chowning of
  /usr/share/cups/model.

Modified: cupsys/trunk/debian/changelog
==============================================================================
--- cupsys/trunk/debian/changelog	(original)
+++ cupsys/trunk/debian/changelog	Mon Apr 30 12:51:58 2007
@@ -72,8 +72,14 @@
     with the printer setup tools.  Especially network printers get
     auto-detected and the correct URI gets assigned to them (doing this
     manually is a non-trivial task for most users).
+  * debian/cupsys.dirs: Add /usr/share/ppd/custom/, a place where lpadmins can
+    store additional PPDs (this functionality is e. g. provided in
+    gnome-cups-manager's "Custom driver..." file dialog).
+  * debian/cupsys.init.d: Give proper permissions to /usr/share/ppd/custom/:
+    root:lpadmin 3775. Drop the obsolete chmod/chowning of
+    /usr/share/cups/model.
 
- -- Martin Pitt <mpitt at debian.org>  Mon, 30 Apr 2007 14:36:56 +0200
+ -- Martin Pitt <mpitt at debian.org>  Mon, 30 Apr 2007 14:50:15 +0200
 
 cupsys (1.2.7-4) unstable; urgency=high
 

Modified: cupsys/trunk/debian/cupsys.dirs
==============================================================================
--- cupsys/trunk/debian/cupsys.dirs	(original)
+++ cupsys/trunk/debian/cupsys.dirs	Mon Apr 30 12:51:58 2007
@@ -6,5 +6,6 @@
 usr/lib/cups/backend-available
 var/cache/cups/ppd
 usr/share/ppd/cups-included
+usr/share/ppd/custom
 usr/lib/cups/driver
 usr/local/share/ppd

Modified: cupsys/trunk/debian/cupsys.init.d
==============================================================================
--- cupsys/trunk/debian/cupsys.init.d	(original)
+++ cupsys/trunk/debian/cupsys.init.d	Mon Apr 30 12:51:58 2007
@@ -27,8 +27,9 @@
 case "$1" in
   start)
 	log_begin_msg "Starting $DESC: $NAME"
-	chown root:lpadmin /usr/share/cups/model 2>/dev/null || true
-	chmod 3775 /usr/share/cups/model 2>/dev/null || true
+	chown root:lpadmin /usr/share/ppd/custom 2>/dev/null || true
+	chmod 3775 /usr/share/ppd/custom 2>/dev/null || true
+
 	mkdir -p `dirname "$PIDFILE"`
 	if [ "$LOAD_LP_MODULE" = "yes" -a -f /usr/lib/cups/backend/parallel \
              -a -f /proc/devices -a -f /proc/modules -a -x /sbin/modprobe \



More information about the Pkg-cups-devel mailing list