]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/colorman.c
Merge changes from CUPS 1.7svn-r10578.
[thirdparty/cups.git] / scheduler / colorman.c
index c662a2c155921cf329daca8d20d483e3dcd633d4..ddb7a6fce3c30fc577c1ca1648d5df022fd28a3c 100644 (file)
@@ -148,8 +148,11 @@ void
 cupsdRegisterColor(cupsd_printer_t *p) /* I - Printer */
 {
 #ifdef __APPLE__
-  apple_unregister_profiles(p);
-  apple_register_profiles(p);
+  if (!RunUser)
+  {
+    apple_unregister_profiles(p);
+    apple_register_profiles(p);
+  }
 
 #elif defined(HAVE_DBUS)
   colord_unregister_printer(p);
@@ -201,7 +204,8 @@ void
 cupsdUnregisterColor(cupsd_printer_t *p)/* I - Printer */
 {
 #ifdef __APPLE__
-  apple_unregister_profiles(p);
+  if (!RunUser)
+    apple_unregister_profiles(p);
 
 #elif defined(HAVE_DBUS)
   colord_unregister_printer(p);