/trunk
<pkgref spec="1.12" uuid="B81E4088-D033-48E9-9757-DDD48AFA4279"><config><identifier>org.christianserving.mac.mail.plugin.TruePreview</identifier><version>1.8</version><description></description><post-install type="none"/><installFrom relative="true" includeRoot="true">../build/Release/TruePreview.mailbundle</installFrom><installTo relative="true" mod="true">Library/Mail/Bundles</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>requireAuthorization</mod><mod>installTo</mod><mod>identifier</mod><mod>parent</mod><mod>version</mod><mod>installTo.path</mod><mod>scripts.postinstall.isRelativeType</mod><mod>installFrom.isRelativeType</mod></config><scripts><postinstall relative="true" mod="true">postinstall.sh</postinstall></scripts><contents><file-list>01truepreview-contents.xml</file-list><component id="org.christianserving.mac.mail.plugin.TruePreview" path="/Users/jhriggs/Documents/ Business/Christian Serving/Projects/TruePreview/build/Release/TruePreview.mailbundle" version="1.8a1"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> |
<pkgref spec="1.12" uuid="B81E4088-D033-48E9-9757-DDD48AFA4279"><config><identifier>org.christianserving.mac.mail.plugin.TruePreview</identifier><version>1.8</version><description></description><post-install type="none"/><requireAuthorization/><installFrom relative="true" includeRoot="true">../build/Release/TruePreview.mailbundle</installFrom><installTo mod="true">/Library/Mail/Bundles</installTo><flags><followSymbolicLinks/></flags><packageStore type="internal"></packageStore><mod>scripts.preinstall.path</mod><mod>installTo</mod><mod>scripts.postinstall.isRelativeType</mod><mod>installTo.isRelativeType</mod><mod>installTo.isAbsoluteType</mod><mod>scripts.preinstall.isRelativeType</mod><mod>parent</mod><mod>version</mod><mod>installFrom.isRelativeType</mod><mod>identifier</mod><mod>requireAuthorization</mod><mod>installTo.path</mod></config><scripts><preinstall relative="true" mod="true">preinstall.sh</preinstall><postinstall relative="true" mod="true">postinstall.sh</postinstall></scripts><contents><file-list>01truepreview-contents.xml</file-list><component id="org.christianserving.mac.mail.plugin.TruePreview" path="/Users/jhriggs/Documents/ Business/Christian Serving/Projects/TruePreview/build/Release/TruePreview.mailbundle" version="1.8a1"/><filter>/CVS$</filter><filter>/\.svn$</filter><filter>/\.cvsignore$</filter><filter>/\.cvspass$</filter><filter>/\.DS_Store$</filter></contents></pkgref> |
<pkmkdoc spec="1.12"><properties><title>TruePreview</title><build>/Users/jhriggs/Documents/ Business/Christian Serving/Projects/TruePreview/build/TruePreview-1.8a1.pkg</build><organization>org.christianserving</organization><userSees ui="easy"/><min-target os="3"/><domain user="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="TruePreview" id="choice0" starts_selected="true" starts_enabled="true" starts_hidden="true"><pkgref id="org.christianserving.mac.mail.plugin.TruePreview"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource relative="true" mod="true" type="license">license.txt</resource></locale></resources><requirements><requirement id="sosv" operator="ge" value="'10.7.0'"><message-title>TruePreview 1.8 and newer requires Mac OS X Lion.</message-title><message>TruePreview 1.8 and newer requires Mac OS X Lion.</message></requirement></requirements><flags/><preinstall><action id="com.apple.packagemaker.actions.getapplication"><item1-title>com.apple.mail</item1-title></action><action id="com.apple.packagemaker.actions.quitapplication"/></preinstall><item type="file">01truepreview.xml</item><mod>properties.systemDomain</mod><mod>properties.title</mod><mod>properties.userDomain</mod><mod>preinstallActions.actions</mod><mod>properties.anywhereDomain</mod></pkmkdoc> |
<pkmkdoc spec="1.12"><properties><title>TruePreview</title><build>/Users/jhriggs/Documents/ Business/Christian Serving/Projects/TruePreview/build/TruePreview-1.8a1.pkg</build><organization>org.christianserving</organization><userSees ui="easy"/><min-target os="3"/><domain user="true"/></properties><distribution><versions min-spec="1.000000"/><scripts></scripts></distribution><contents><choice title="TruePreview" id="choice0" starts_selected="true" starts_enabled="true" starts_hidden="false"><pkgref id="org.christianserving.mac.mail.plugin.TruePreview"/></choice></contents><resources bg-scale="none" bg-align="topleft"><locale lang="en"><resource relative="true" mod="true" type="license">license.txt</resource></locale></resources><requirements><requirement id="sosv" operator="ge" value="'10.7.0'"><message-title>TruePreview 1.8 and newer requires Mac OS X Lion.</message-title><message>TruePreview 1.8 and newer requires Mac OS X Lion.</message></requirement></requirements><flags/><preinstall><action id="com.apple.packagemaker.actions.getapplication"><item1-title>com.apple.mail</item1-title></action><action id="com.apple.packagemaker.actions.quitapplication"/></preinstall><item type="file">01truepreview.xml</item><mod>properties.systemDomain</mod><mod>properties.title</mod><mod>properties.userDomain</mod><mod>properties.anywhereDomain</mod><mod>preinstallActions.actions</mod></pkmkdoc> |
#!/bin/sh |
|
# Copyright (c) 2009-2011, Jim Riggs, Christian Serving, L.L.C. |
# All rights reserved. |
# |
# Redistribution and use in source and binary forms, with or without |
# modification, are permitted provided that the following conditions are |
# met: |
# * Redistributions of source code must retain the above copyright |
# notice, this list of conditions and the following disclaimer. |
# * Redistributions in binary form must reproduce the above |
# copyright notice, this list of conditions and the following |
# disclaimer in the documentation and/or other materials provided |
# with the distribution. |
# * Neither the name of Christian Serving, L.L.C. nor the names of |
# its contributors may be used to endorse or promote products |
# derived from this software without specific prior written |
# permission. |
# |
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
## |
# preinstall.sh |
# Copyright (c) 2009-2011 Jim Riggs, Christian Serving, L.L.C. All rights reserved. |
# |
# @(#) $Id: postflight.sh 53 2011-08-23 16:00:04Z jhriggs $ |
## |
|
if [ -d "$HOME/Library/Mail/Bundles" ] |
then |
sudo chown -R "$USER" "$HOME/Library/Mail/Bundles" |
fi |