]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/ipp.c
Merge changes from CUPS 1.4svn-r7999.
[thirdparty/cups.git] / scheduler / ipp.c
index 016a1b1af619972480604078d57598929ab90b34..23b2c09c42f647a9cde5cf1930655fb9a81d6000 100644 (file)
@@ -2758,8 +2758,11 @@ add_printer(cupsd_client_t  *con,        /* I - Client connection */
         * (Re)register color profiles...
        */
 
-        apple_unregister_profiles(printer);
-       apple_register_profiles(printer);
+        if (!RunUser)
+       {
+         apple_unregister_profiles(printer);
+         apple_register_profiles(printer);
+        }
 #endif /* __APPLE__ */
       }
       else
@@ -2820,8 +2823,11 @@ add_printer(cupsd_client_t  *con,        /* I - Client connection */
       * (Re)register color profiles...
       */
 
-      apple_unregister_profiles(printer);
-      apple_register_profiles(printer);
+      if (!RunUser)
+      {
+       apple_unregister_profiles(printer);
+       apple_register_profiles(printer);
+      }
 #endif /* __APPLE__ */
     }
   }