Installing Extensis Universal Type Client 2.1 with Munki

The postflight script for the UTC Preference Pane references environment variables not present when using Munki.

If you're planning to use the UTC installer with Munki, you'll need to modify the postflight script inside the following folder:

Universal\ Type\ Client\ 2.1.mpkg/Contents/Packages/utcoreprefpane.pkg/Contents/Resources

Here's my replacement:

--------------------
#!/bin/bash
#set proper permissions on the prefpane
sudo chmod -R 555 "/Library/PreferencePanes/utcore-prefpane.prefPane"

#This USED to set something in the /L/P domain to the user who installed it first.
#We're using root:admin as that's how things in the /L/P domain should normally be set
#set ownership of the prefpane

sudo chown -R root:admin "/Library/PreferencePanes/utcore-prefpane.prefPane"
---------------------

Notice the removals of the environment variables at the top as well as the addition of the login item at the end of the script. You'll need to add the UTC Helper App as a login item for your users some other way. I recommend using MCX. 

Posted
Views